mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 06:50:21 +00:00
585b7f963d
merge ofw commit
23 lines
No EOL
410 B
C
23 lines
No EOL
410 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 |