FreeFOAM The Cross-Platform CFD Toolkit
cpuTimeImpl Class Reference

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

#include <OSspecific/cpuTimeImpl.H>


Detailed Description

Starts timing CPU usage and return elapsed time from start.

This is the platform specific opaque implementation for class cpuTime.

See also:
clockTime
Source files

Definition at line 55 of file cpuTimeImpl.H.

List of all members.

Public Member Functions

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

Constructor & Destructor Documentation

Construct from components.

Definition at line 70 of file cpuTimeImpl.C.


Member Function Documentation

double elapsedCpuTime ( ) const

Returns CPU time from start of run.

Definition at line 80 of file cpuTimeImpl.C.

double cpuTimeIncrement ( ) const

Returns CPU time from last call of cpuTimeIncrement()

Definition at line 87 of file cpuTimeImpl.C.


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