|
STXXL
1.4.0
|
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 103 of file timer.h.
References stxxl::timestamp().
|
inline |
|
inline |
return currently accumulated time in seconds (as double)
Definition at line 121 of file timer.h.
References stxxl::timestamp().
|
inline |
start timer
Definition at line 82 of file timer.h.
References stxxl::timestamp().
|
inline |
stop timer
Definition at line 89 of file timer.h.
References stxxl::timestamp().
|
inlinestaticprivate |
|
inline |
return currently accumulated time in microseconds
Definition at line 112 of file timer.h.
References stxxl::timestamp().