|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLMISC::CStopWatch Class ReferenceStopwatch class used for performance measurements and statistics.
More...
#include <stop_watch.h>
List of all members.
Detailed Description
Stopwatch class used for performance measurements and statistics.
To measure the duration of a cycle, call stop(), get the results, then call start(). -
Author:
-
Olivier Cado , Nevrax France
-
Date:
-
2001
Definition at line 48 of file stop_watch.h.
Constructor & Destructor Documentation
NLMISC::CStopWatch::CStopWatch |
( |
uint |
queueLength = 0 |
) |
|
|
|
Constructor. Set a non-zero queueLength for partial average calculation.
Definition at line 39 of file stop_watch.cpp. |
Member Function Documentation
TMsDuration NLMISC::CStopWatch::getAverageDuration |
( |
|
) |
const |
|
TMsDuration NLMISC::CStopWatch::getPartialAverage |
( |
|
) |
const |
|
uint32 NLMISC::CStopWatch::measurementNumber |
( |
|
) |
const [inline] |
|
void NLMISC::CStopWatch::pause |
( |
|
) |
|
|
void NLMISC::CStopWatch::resume |
( |
|
) |
|
|
void NLMISC::CStopWatch::start |
( |
|
) |
|
|
void NLMISC::CStopWatch::stop |
( |
|
) |
|
|
Member Data Documentation
TTicks NLMISC::CStopWatch::_BeginTime [private]
|
|
uint32 NLMISC::CStopWatch::_MeasurementNumber [private]
|
|
uint NLMISC::CStopWatch::_QLength [private]
|
|
The documentation for this class was generated from the following files:
|
|