STXXL
1.4.1
|
Public Member Functions | |
timer (bool start_immediately=false) | |
double | mseconds () |
return currently accumulated time in milliseconds More... | |
void | reset () |
return accumulated time More... | |
double | seconds () |
return currently accumulated time in seconds (as double) More... | |
void | start () |
start timer More... | |
void | stop () |
stop timer More... | |
double | useconds () |
return currently accumulated time in microseconds More... | |
Static Private Member Functions | |
static double | timestamp () |
return current timestamp More... | |
Private Attributes | |
double | accumulated |
double | last_clock |
bool | running |
|
inline |
return currently accumulated time in milliseconds
Definition at line 105 of file timer.h.
References stxxl::timestamp().
|
inline |
|
inline |
return currently accumulated time in seconds (as double)
Definition at line 123 of file timer.h.
References stxxl::timestamp().
|
inline |
start timer
Definition at line 84 of file timer.h.
References stxxl::timestamp().
|
inline |
stop timer
Definition at line 91 of file timer.h.
References stxxl::timestamp().
|
inlinestaticprivate |
|
inline |
return currently accumulated time in microseconds
Definition at line 114 of file timer.h.
References stxxl::timestamp().