FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

cpuTime Class Reference

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

#include <OSspecific/cpuTime.H>


Detailed Description

Starts timing CPU usage and return elapsed time from start.

See also:
clockTime
Source files

Definition at line 54 of file cpuTime.H.

Inheritance diagram for cpuTime:
Collaboration diagram for cpuTime:

List of all members.

Public Member Functions

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

Constructor & Destructor Documentation

cpuTime (  )

Construct from components.

~cpuTime (  )

Member Function Documentation

double elapsedCpuTime (  ) const

Returns CPU time from start of run.


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