source: trunk/lib/perflib/perfsec.h @ 462

Last change on this file since 462 was 462, checked in by cameron, 9 years ago

perflib and block_carry.h

File size: 429 bytes
Line 
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)
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#endif
23
Note: See TracBrowser for help on using the repository browser.