Starts timing CPU usage and return elapsed time from start. More...
Public Member Functions | |
cpuTime () | |
Construct with the current clock time. More... | |
double | elapsedCpuTime () const |
Return CPU time (in seconds) from the start. More... | |
double | cpuTimeIncrement () const |
Return CPU time (in seconds) since last call to cpuTimeIncrement() More... | |
Starts timing CPU usage and return elapsed time from start.
double elapsedCpuTime | ( | ) | const |
Return CPU time (in seconds) from the start.
Definition at line 67 of file cpuTime.C.
Referenced by jobInfo::write().
double cpuTimeIncrement | ( | ) | const |
Return CPU time (in seconds) since last call to cpuTimeIncrement()
Definition at line 74 of file cpuTime.C.
Referenced by meshRefinement::baffleAndSplitMesh(), snappySnapDriver::calcNearestSurface(), meshRefinement::createZoneBaffles(), snappySnapDriver::doSnap(), meshRefinement::mergeBaffles(), snappySnapDriver::preSmoothPatch(), snappySnapDriver::repatchToSurface(), snappySnapDriver::scaleMesh(), snappySnapDriver::smoothDisplacement(), and snappyRefineDriver::snappyRefineDriver().