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

clockTime Class Reference

Starts timing (using rtc) and returns elapsed time from start. Better resolution (2uSec instead of ~20mSec) than cpuTime. More...

#include <OSspecific/clockTime.H>


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 52 of file clockTime.H.

Collaboration diagram for clockTime:

List of all members.

Public Member Functions

 clockTime ()
 Construct from components.
double  elapsedTime () const
 Returns CPU time from start of run.
double  timeIncrement () const
 Returns CPU time from last call of clockTimeIncrement()

Constructor & Destructor Documentation

clockTime (  )

Construct from components.


Member Function Documentation

double elapsedTime (  ) const

Returns CPU time from start of run.

double timeIncrement (  ) const

Returns CPU time from last call of clockTimeIncrement()


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