|
IT++ 4.3.1
|
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 | |
| ITPP_EXPORT void itpp::tic | ( | ) |
Reset and start timer.
Definition at line 154 of file timing.cpp.
References __tic_toc_timer, tic(), and itpp::Timer::tic().
Referenced by tic().
| ITPP_EXPORT double itpp::toc | ( | ) |
Returns the elapsed time since last tic().
Definition at line 159 of file timing.cpp.
References __tic_toc_timer, itpp::Timer::toc(), and toc().
Referenced by toc().
| ITPP_EXPORT void itpp::toc_print | ( | ) |
Prints the elapsed time since last tic().
Definition at line 164 of file timing.cpp.
References __tic_toc_timer, itpp::Timer::toc_print(), and toc_print().
Referenced by toc_print().
| ITPP_EXPORT void itpp::pause | ( | double | t = -1 | ) |
pause
Pauses for n seconds before continuing
Pauses until a key is pressed
Definition at line 169 of file timing.cpp.
References itpp::Timer::get_time(), pause(), and itpp::Timer::start().
Referenced by pause().