source: proto/Compiler/perfsec.h @ 422

Last change on this file since 422 was 419, checked in by lindanl, 9 years ago

add performance section

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