Hex
1.0
Hydrogen-electron collision solver
|
Timing class. More...
#include <misc.h>
Public Member Functions | |
Timer () | |
Return object reference (singleton interface). More... | |
void | reset () |
Start timer. More... | |
unsigned | seconds () |
Return elapsed time in seconds. More... | |
unsigned | milliseconds () |
Return elapsed time in milliseconds. More... | |
unsigned | microseconds () |
Return elapsed time in microseconds. More... | |
The Timer class can be used for a comfortable computation of elapsed time. The usage would be:
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |