#include <hierarchical_timer.h>
Don't forget to call after() to avoid timing wrongness or assertion crashes !void myFunction() { static CHTimer myTimer("myFunction"); CAutoTimer myAuto(myTimer); // some code here } *
Nevrax France
Definition at line 475 of file hierarchical_timer.h.
Public Member Functions | |
CAutoTimer (CHTimer *timer) | |
~CAutoTimer () | |
Private Attributes | |
CHTimer * | _HTimer |
|
Definition at line 480 of file hierarchical_timer.h. References _HTimer, and NLMISC::CHTimer::before().
|
|
Definition at line 481 of file hierarchical_timer.h. References _HTimer, and NLMISC::CHTimer::after().
00481 { _HTimer->after(); } |
|
Definition at line 478 of file hierarchical_timer.h. Referenced by CAutoTimer(), and ~CAutoTimer(). |