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

clockTimeImpl Class Reference

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

#include <OSspecific/clockTimeImpl.H>


Detailed Description

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

This is the platform specific opaque implementation for class clockTime.

Source files

Definition at line 55 of file clockTimeImpl.H.

List of all members.

Public Member Functions

 clockTimeImpl ()
 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

Construct from components.

Definition at line 58 of file clockTimeImpl.C.


Member Function Documentation

double elapsedTime (  ) const

Returns CPU time from start of run.

Definition at line 68 of file clockTimeImpl.C.

double timeIncrement (  ) const

Returns CPU time from last call of clockTimeIncrement()

Definition at line 75 of file clockTimeImpl.C.


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