Go to the documentation of this file.
73 #define START_TIMING gettimeofday(&tv,0);long tt0=tv.tv_usec+tv.tv_sec*1000000;
74 #define END_TIMING(NUMBER) \
75 tcount=tcount+1;gettimeofday(&tv,0);cumul=cumul+tv.tv_usec+tv.tv_sec*1000000 -tt0; \
76 if(tcount==NUMBER){ std::cerr << __FILE__<<":"<<__LINE__<<" temps CPU(mus): "<<cumul<< std::endl; tcount=0 ;cumul=0; }
80 #define CHRONO(i) counters::_ctrs[i]._ctrNames = (char *)__FILE__; \
81 counters::_ctrs[i]._ctrLines = __LINE__; \
82 salome_chrono aChrono##i(i);
84 #define CHRONOSTOP(i) aChrono##i.stop();
93 #endif // _CHRONO_HXX_