mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-27 08:41:02 +08:00
Build if profiler disabled
This commit is contained in:
parent
8c746fc991
commit
b26673b8ba
@ -156,6 +156,8 @@ void foo()
|
||||
#define PROFILER_END_BLOCK profiler::endBlock();
|
||||
#define PROFILER_ENABLE profiler::setEnabled(true);
|
||||
#define PROFILER_DISABLE profiler::setEnabled(false);
|
||||
#define PROFILER_ADD_EVENT(name)
|
||||
#define PROFILER_ADD_EVENT_GROUPED(name,block_group)
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user