SkyGI::Timing Class Reference

List of all members.

Public Member Functions

 Timing ()
void Reset (const char *szResult=NULL)
void Stop (const char *szResult)
void Result (const char *szResult)
unsigned int GetMsec ()
unsigned long long GetUsec ()

Constructor & Destructor Documentation

Timing::Timing (  ) 

Timing constructor

Description:
Create a new timing object and implicity set the start time to current time


Member Function Documentation

void Timing::Reset ( const char *  szResult = NULL  ) 

Start new timing

Description:
Start new timing and optionally print the just measured time to stdout in form: 'szResult: d usecs == d msecs'

void Timing::Stop ( const char *  szResult  ) 

Stop timing

Description:
Stops the timing and optionally prints the result to stdout in form: 'szResult: d usecs == d msecs'

void Timing::Result ( const char *  szResult  ) 

Print timing results

Description:
Implicity stops the timing and prints the result to stdout in form: 'szResult: d usecs == d msecs'

unsigned int Timing::GetMsec (  ) 

unsigned long long Timing::GetUsec (  ) 


Generated on Thu Dec 13 18:14:12 2007 for SkyGI by  doxygen 1.5.1-p1