|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLMISC::CAutoTimer Class ReferenceAn automatic measuring timer.
More...
#include <hierarchical_timer.h>
List of all members.
Detailed Description
An automatic measuring timer.
Encapsulates calls to CHTimer, and avoids missuses of before() and after(). ex: void myFunction()
{
static CHTimer myTimer("myFunction");
CAutoTimer myAuto(myTimer);
}
*
Don't forget to call after() to avoid timing wrongness or assertion crashes ! -
Author:
-
Benjamin Legros , Nevrax France
-
Date:
-
2001
Definition at line 459 of file hierarchical_timer.h.
Constructor & Destructor Documentation
NLMISC::CAutoTimer::CAutoTimer |
( |
CHTimer * |
timer, |
|
|
bool |
displayAfter = false |
|
) |
[inline] |
|
NLMISC::CAutoTimer::~CAutoTimer |
( |
|
) |
[inline] |
|
Member Data Documentation
bool NLMISC::CAutoTimer::_DisplayAfter [private]
|
|
CHTimer* NLMISC::CAutoTimer::_HTimer [private]
|
|
The documentation for this class was generated from the following file:
|
|