Public Member Functions | List of all members
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 ( )

Construct with the current clock time.

Definition at line 45 of file clockTime.C.

Member Function Documentation

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.


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