Starts timing and returns elapsed time from start. Uses std::chrono::high_resolution_clock for better resolution (2uSec instead of ~20mSec) than cpuTime. More...
Public Member Functions | |
clockTime () | |
Construct with the current clock value for the start point. More... | |
clockTime (const clockValue &clockval) | |
Implicit construct from the clock value as the start point. More... | |
void | resetTime () |
Reset to use the current clock value for the start and increment points. More... | |
void | resetTimeIncrement () const |
Reset to use the current clock value for the increment point. More... | |
double | elapsedTime () const |
The time [seconds] since the start point. More... | |
double | timeIncrement () const |
The time [seconds] since the last call to elapsedTime(), timeIncrement() or resetTime(), resetTimeIncrement() More... | |
Starts timing and returns elapsed time from start. Uses std::chrono::high_resolution_clock for better resolution (2uSec instead of ~20mSec) than cpuTime.
Definition at line 58 of file clockTime.H.
|
inline |
Construct with the current clock value for the start point.
Definition at line 23 of file clockTimeI.H.
|
inline |
Implicit construct from the clock value as the start point.
Definition at line 30 of file clockTimeI.H.
|
inline |
Reset to use the current clock value for the start and increment points.
Definition at line 39 of file clockTimeI.H.
|
inline |
Reset to use the current clock value for the increment point.
Definition at line 46 of file clockTimeI.H.
|
inline |
The time [seconds] since the start point.
Definition at line 52 of file clockTimeI.H.
|
inline |
The time [seconds] since the last call to elapsedTime(), timeIncrement() or resetTime(), resetTimeIncrement()
Definition at line 59 of file clockTimeI.H.
Referenced by TDACChemistryModel< CompType, ThermoType >::solve().