Loading...
Searching...
No Matches
profiler.h
1#pragma once
2
3#ifdef __cplusplus
4extern "C" {
5#endif
6
7typedef struct Profiler Profiler;
8
9Profiler* profiler_alloc(void);
10
11void profiler_free(Profiler* profiler);
12
13void profiler_prealloc(Profiler* profiler, const char* key);
14
15void profiler_start(Profiler* profiler, const char* key);
16
17void profiler_stop(Profiler* profiler, const char* key);
18
19void profiler_dump(Profiler* profiler);
20
21#ifdef __cplusplus
22}
23#endif
Definition profiler.c:16