clockTime Class Reference

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. 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...
 

Detailed Description

Starts timing (using rtc) and returns elapsed time from start. Better resolution (2uSec instead of ~20mSec) than cpuTime.

Source files

Definition at line 49 of file clockTime.H.

Constructor & Destructor Documentation

◆ clockTime()

clockTime ( )

Construct with the current clock time.

Definition at line 45 of file clockTime.C.

Member Function Documentation

◆ elapsedTime()

double elapsedTime ( ) const

Return time (in seconds) from the start.

Definition at line 55 of file clockTime.C.

◆ timeIncrement()

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().

Here is the caller graph for this function:

The documentation for this class was generated from the following files: