Public Member Functions | List of all members
cpuTime Class Reference

Starts timing CPU usage and return elapsed time from start. More...

Inheritance diagram for cpuTime:
Inheritance graph
[legend]

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

Detailed Description

Starts timing CPU usage and return elapsed time from start.

See also
clockTime
Source files

Definition at line 52 of file cpuTime.H.

Constructor & Destructor Documentation

◆ cpuTime()

cpuTime ( )

Construct with the current clock time.

Definition at line 57 of file cpuTime.C.

Member Function Documentation

◆ elapsedCpuTime()

double elapsedCpuTime ( ) const

Return CPU time (in seconds) from the start.

Definition at line 67 of file cpuTime.C.

Referenced by jobInfo::write().

Here is the caller graph for this function:

◆ cpuTimeIncrement()

double cpuTimeIncrement ( ) const

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