mongo::Timer Class Reference
#include <timer.h>
List of all members.
Public Member Functions |
| unsigned long long | micros (unsigned long long &n) const |
| unsigned long long | micros () const |
| int | millis () const |
| void | reset () |
| int | seconds () const |
| unsigned long long | startTime () |
| | Timer (unsigned long long start) |
| | Timer () |
Private Attributes |
| unsigned long long | old |
Detailed Description
simple scoped timer
Definition at line 27 of file timer.h.
Constructor & Destructor Documentation
| mongo::Timer::Timer |
( |
|
) |
[inline] |
| mongo::Timer::Timer |
( |
unsigned long long |
start |
) |
[inline] |
Member Function Documentation
| unsigned long long mongo::Timer::micros |
( |
unsigned long long & |
n |
) |
const [inline] |
| unsigned long long mongo::Timer::micros |
( |
|
) |
const [inline] |
| int mongo::Timer::millis |
( |
|
) |
const [inline] |
| void mongo::Timer::reset |
( |
|
) |
[inline] |
| int mongo::Timer::seconds |
( |
|
) |
const [inline] |
| unsigned long long mongo::Timer::startTime |
( |
|
) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following file: