hpp-util 6.0.0
Debugging tools for the HPP project.
|
#include <hpp/util/timer.hh>
Public Types | |
typedef std::chrono::steady_clock | clock_type |
typedef clock_type::time_point | time_point |
typedef std::chrono::duration< double > | duration_type |
Public Member Functions | |
Timer (bool autoStart=false) | |
Timer (const Timer &) | |
Timer & | operator= (const Timer &) |
~Timer () | |
const time_point & | start () |
const time_point & | stop () |
double | duration () const |
const time_point & | getStart () const |
const time_point & | getStop () const |
std::ostream & | print (std::ostream &) const |
typedef std::chrono::steady_clock hpp::debug::Timer::clock_type |
typedef std::chrono::duration<double> hpp::debug::Timer::duration_type |
typedef clock_type::time_point hpp::debug::Timer::time_point |
hpp::debug::Timer::~Timer | ( | ) |
double hpp::debug::Timer::duration | ( | ) | const |
const Timer::time_point & hpp::debug::Timer::getStart | ( | ) | const |
const Timer::time_point & hpp::debug::Timer::getStop | ( | ) | const |
std::ostream & hpp::debug::Timer::print | ( | std::ostream & | o | ) | const |
const Timer::time_point & hpp::debug::Timer::start | ( | ) |
const Timer::time_point & hpp::debug::Timer::stop | ( | ) |