|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
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 212 of file hierarchical_timer.h.
Constructor & Destructor Documentation
CAutoTimer::CAutoTimer |
( |
CHTimer * |
timer |
) |
[inline] |
|
CAutoTimer::~CAutoTimer |
( |
|
) |
[inline] |
|
Member Data Documentation
CHTimer* CAutoTimer::_HTimer [private]
|
|
The documentation for this class was generated from the following file:
|
|