unleashed-firmware/lib/toolbox/profiler.h
hedger ffa3996a5e
[FL-3867] Code formatting update (#3765)
* clang-format: AllowShortEnumsOnASingleLine: false
* clang-format: InsertNewlineAtEOF: true
* clang-format: Standard:        c++20
* clang-format: AlignConsecutiveBitFields
* clang-format: AlignConsecutiveMacros
* clang-format: RemoveParentheses: ReturnStatement
* clang-format: RemoveSemicolon: true
* Restored RemoveParentheses: Leave, retained general changes for it
* formatting: fixed logging TAGs
* Formatting update for dev

Co-authored-by: あく <alleteam@gmail.com>
2024-07-15 13:38:49 +09:00

24 lines
411 B
C

#pragma once
#ifdef __cplusplus
extern "C" {
#endif
typedef struct Profiler Profiler;
Profiler* profiler_alloc(void);
void profiler_free(Profiler* profiler);
void profiler_prealloc(Profiler* profiler, const char* key);
void profiler_start(Profiler* profiler, const char* key);
void profiler_stop(Profiler* profiler, const char* key);
void profiler_dump(Profiler* profiler);
#ifdef __cplusplus
}
#endif