#include <utility_timer.h>
Public Member Functions | |
void | start () |
void | stop () |
real_type | operator() () const |
High Resoultion Timer. Based on http://www-106.ibm.com/developerworks/library/l-rt1/
RunTime: High-performance programming techniques on Linux and Windows 2000 Setting up timing routines by Edward G. Bradford (egb@us.ibm.com) Senior Programmer, IBM 01 Apr 2001
Example usage (We recommand doubles):
Timer<double> timer;
timer.start() ... timer.stop() std::cout << "It took " << timer() << " seconds to do it" << std::endl;
real_type OpenTissue::utility::Timer< real_type >::operator() | ( | ) | const [inline] |
void OpenTissue::utility::Timer< real_type >::start | ( | ) | [inline] |
void OpenTissue::utility::Timer< real_type >::stop | ( | ) | [inline] |