Go::CPUclock Class Reference
['utils' - a collection of useful math and programming tools]

A class for measuring CPU time in programs. More...

#include <CPUclock.h>

List of all members.

Public Member Functions

 CPUclock ()
 The constructor initializes the time of last call.
double getInterval ()
 The increase in time (seconds) since last call to getInterval() or to initTime ().
void initTime ()
 Start measuring the length of an interval (typically called prior to the computational job to be measured).
double getTime ()
 Returns time in seconds since January 1, 1970.


Detailed Description

A class for measuring CPU time in programs.

Definition at line 45 of file CPUclock.h.


The documentation for this class was generated from the following file:
Generated on Mon Jun 11 14:48:18 2007 for GoTools Core Library by  doxygen 1.5.1