16 #pragma message(__FILE__)
25 #if(!defined(PrflCntHstg_H))
35 #error Please include Prfl.h before including PrflCntHstg.h
82 if( hstg < hstgMin ) cntLess++;
83 else if( hstg > hstgMax ) cntAbv++;
84 else cnt[hstg - hstgMin]++;
108 #if(defined(PRFL_ENBL))
109 #define PRFL_CNT_HSTG(id,hstg,hstgMin,hstgMax) {static a2dProfilerHistogram prfl_##id(#id,hstgMin,hstgMax); prfl_##id.Cnt(hstg);}
111 #define PRFL_CNT_HSTG(id,hstg,hstgMin,hstgMax)
114 #endif // PrflCntHstg_H
a2dProfilerHistogram(wxString idIn, int hstgMinIn, int hstgMaxIn)
constructor
~a2dProfilerHistogram()
destructor
void Cnt(int hstg)
called when pssing the code where it is placed.