Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

IndriTimer Class Reference

#include <IndriTimer.hpp>

List of all members.

Public Methods

 IndriTimer ()
void start ()
 start the timer

UINT64 elapsedTime () const
 
Returns:
elapsed time since started as an unsigned 64 bit integer


void printElapsedSeconds (std::ostream &out) const
void printElapsedMicroseconds (std::ostream &out) const

Static Public Methods

UINT64 currentTime ()
 
Returns:
the current time as an unsigned 64 bit integer



Detailed Description

Utility class for printing timing statistics to a stream


Constructor & Destructor Documentation

IndriTimer::IndriTimer  
 


Member Function Documentation

UINT64 IndriTimer::currentTime   [static]
 

Returns:
the current time as an unsigned 64 bit integer

UINT64 IndriTimer::elapsedTime  
 

Returns:
elapsed time since started as an unsigned 64 bit integer

void IndriTimer::printElapsedMicroseconds std::ostream &    out const
 

Print elapsed microseconds to an output stream.

Parameters:
out  the stream to print to.

void IndriTimer::printElapsedSeconds std::ostream &    out const
 

Print elapsed seconds to an output stream.

Parameters:
out  the stream to print to.

void IndriTimer::start  
 

start the timer


The documentation for this class was generated from the following files:
Generated on Wed Nov 3 12:59:39 2004 for Lemur Toolkit by doxygen1.2.18