source: proto/Compiler/perfsec.h @ 426

Last change on this file since 426 was 426, checked in by eamiri, 9 years ago

#else added

File size: 429 bytes
RevLine 
[419]1
2#include "BOM_Profiler.h"
3
4#ifdef BUFFER_PROFILING
5#define PERF_SEC_INIT(timer) \
6timer = init_BOM_timer()
7
8#define PERF_SEC_START(timer) \
9start_BOM_interval(timer)
10
11#define PERF_SEC_END(timer,elems) \
12end_BOM_interval(timer,elems)
13
14#define PERF_SEC_DUMP(timer) \
15  dump_BOM_table(timer)
[426]16
17#else
18#define PERF_SEC_INIT(timer)
19#define PERF_SEC_START(timer)
20#define PERF_SEC_END(timer,elems)
21#define PERF_SEC_DUMP(timer)
22
[419]23#endif
Note: See TracBrowser for help on using the repository browser.