BSB Developer Docs
Loading...
Searching...
No Matches
profiler.h
1#pragma once
2
3#ifdef __cplusplus
4extern "C" {
5#endif
6
7// Pro Tip: change baud rate in
8// `targets/fXX/furi_hal/furi_hal_serial_control.c` -> `furi_hal_serial_control_init`
9// to 4 Mbaud C:
10
11typedef struct Profiler Profiler;
12
13Profiler* profiler_alloc(const char* tag);
14
15void profiler_free(Profiler* profiler);
16
17void profiler_prealloc(Profiler* profiler, const char* key);
18
19void profiler_start(Profiler* profiler, const char* key);
20
21void profiler_stop(Profiler* profiler, const char* key);
22
23void profiler_dump(Profiler* profiler);
24
25#ifdef __cplusplus
26}
27#endif
Definition profiler.c:16