Go to the documentation of this file.
26 #pragma message(__FILE__)
35 #if(!defined(PrflEnbl_H))
45 #error Please include 'prfl.h' before including prflenbl.h
56 #define PRFL_DUMP a2dProfiler::PrflDump
61 #define PRFL_CNT(id) {static a2dProfilerCount prfl_##id(#id); prfl_##id.Cnt();}
62 #define PRFL_CNT_DCLR(id) {static a2dProfilerCount prfl_##id(#id);}
63 #define PRFL_CNT_CNT(id) {prfl_##id.Cnt();}
66 #define PRFL_CNT_HSTG(id,hstg,hstgMin,hstgMax) {static a2dProfilerHistogram prfl_##id(#id,hstgMin,hstgMax); prfl_##id.Cnt(hstg);}
69 #define PRFL_CNT_MEAN(id,val) {static a2dProfilerMean prfl_##id(_T(#id)); prfl_##id.Cnt(val);}
74 #define PRFL_BGN_TMR(id) static a2dProfilerTimer prfl_##id(_T(#id)); prfl_##id.BgnBlck();
75 #define PRFL_END_TMR(id) prfl_##id.EndBlck();
76 #define PRFL_AUTO_TMR(id) static a2dProfilerTimer prfl_auto1_##id(_T(#id)); a2dProfilerTimer::SPrflTmrAuto prfl_auto2_##id(&prfl_auto1_##id);
78 #undef PRFL_BGN_TMR_MIN
79 #undef PRFL_END_TMR_MIN
80 #define PRFL_BGN_TMR_MIN(id) static CPrflTmrMin prfl_##id(_T(#id)); prfl_##id.BgnBlck();
81 #define PRFL_END_TMR_MIN(id) prfl_##id.EndBlck();
prflenbl.h Source File -- Sun Oct 12 2014 17:04:23 -- Sun Oct 12 2014 -- 1.8.5 -- wxArt2D -- . --
Main Page
Reference Documentation