IT++ Logo Newcom Logo

Timers


Classes

class  itpp::Timer
 A virtual base class for timers. More...
class  itpp::CPU_Timer
 A CPU time timer class. More...
class  itpp::Real_Timer
 A real time timer class. More...

Functions

void itpp::tic ()
 Reset and start timer.
double itpp::toc ()
 Returns the elapsed time since last tic().
void itpp::toc_print ()
 Prints the elapsed time since last tic().
void itpp::pause (double t=-1)
 pause

Detailed Description


Function Documentation

void itpp::tic (  ) 

Reset and start timer.

Definition at line 156 of file timing.cpp.

References itpp::__tic_toc_timer, and itpp::Timer::tic().

Referenced by itpp::gmmtrain().

double itpp::toc (  ) 

Returns the elapsed time since last tic().

Definition at line 161 of file timing.cpp.

References itpp::__tic_toc_timer, and itpp::Timer::toc().

Referenced by itpp::gmmtrain().

void itpp::toc_print (  ) 

Prints the elapsed time since last tic().

Definition at line 166 of file timing.cpp.

References itpp::__tic_toc_timer, and itpp::Timer::toc_print().

void itpp::pause ( double  t = -1  ) 

pause

 pause(n); 
Pauses for n seconds before continuing
 pause(); 
Pauses until a key is pressed

Definition at line 171 of file timing.cpp.

References itpp::Timer::get_time(), and itpp::Timer::start().

SourceForge Logo

Generated on Fri Jun 8 00:37:36 2007 for IT++ by Doxygen 1.5.2