Starts timing (using rtc) and returns elapsed time from start. Better resolution (2uSec instead of ~20mSec) than cpuTime. More...
Public Member Functions | |
clockTime () | |
Construct with the current clock time for the starting value. More... | |
clockTime (const clockValue &clockval) | |
Construct with the given clock value for the starting value. More... | |
void | resetTime () |
Reset to use the current time for the start time. More... | |
double | elapsedTime () const |
Return time (in seconds) from the start. More... | |
double | timeIncrement () const |
Return time (in seconds) since last call to timeIncrement() More... | |
Starts timing (using rtc) and returns elapsed time from start. Better resolution (2uSec instead of ~20mSec) than cpuTime.
Definition at line 52 of file clockTime.H.
clockTime | ( | ) |
Construct with the current clock time for the starting value.
Definition at line 32 of file clockTime.C.
clockTime | ( | const clockValue & | clockval | ) |
Construct with the given clock value for the starting value.
Definition at line 39 of file clockTime.C.
void resetTime | ( | ) |
Reset to use the current time for the start time.
Definition at line 48 of file clockTime.C.
double elapsedTime | ( | ) | const |
Return time (in seconds) from the start.
Definition at line 55 of file clockTime.C.
double timeIncrement | ( | ) | const |
Return time (in seconds) since last call to timeIncrement()
Definition at line 62 of file clockTime.C.
Referenced by TDACChemistryModel< CompType, ThermoType >::solve().