OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

cpuTime Class Reference

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

Inheritance diagram for cpuTime:

List of all members.


Public Member Functions

 cpuTime ()
 Construct from components.
double elapsedCpuTime () const
 Returns CPU time from start of run.
double cpuTimeIncrement () const
 Returns CPU time from last call of cpuTimeIncrement().

Detailed Description

Starts timing CPU usage and return elapsed time from start.

See also:
clockTime
Source files

Definition at line 48 of file cpuTime.H.


Constructor & Destructor Documentation

cpuTime (  ) 

Construct from components.

Definition at line 63 of file cpuTime.C.


Member Function Documentation

double elapsedCpuTime (  )  const

Returns CPU time from start of run.

Definition at line 73 of file cpuTime.C.

double cpuTimeIncrement (  )  const

Returns CPU time from last call of cpuTimeIncrement().

Definition at line 80 of file cpuTime.C.

Referenced by autoHexMeshDriver::autoHexMeshDriver().

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd