hpp-util
4.9.0
Debugging tools for the HPP project.
|
Computation of min, max and mean time from a set of measurements. More...
#include <hpp/util/timer.hh>
Classes | |
struct | Scope |
Public Types | |
typedef boost::posix_time::ptime | ptime |
typedef boost::posix_time::time_duration | time_duration |
Public Member Functions | |
TimeCounter (const std::string &name) | |
void | start () |
time_duration | stop () |
time_duration | last () |
void | reset () |
time_duration | min () const |
time_duration | max () const |
time_duration | mean () const |
time_duration | totalTime () const |
std::ostream & | print (std::ostream &os) const |
Computation of min, max and mean time from a set of measurements.
typedef boost::posix_time::ptime hpp::debug::TimeCounter::ptime |
typedef boost::posix_time::time_duration hpp::debug::TimeCounter::time_duration |
hpp::debug::TimeCounter::TimeCounter | ( | const std::string & | name | ) |
TimeCounter::time_duration hpp::debug::TimeCounter::last | ( | ) |
TimeCounter::time_duration hpp::debug::TimeCounter::max | ( | ) | const |
TimeCounter::time_duration hpp::debug::TimeCounter::mean | ( | ) | const |
TimeCounter::time_duration hpp::debug::TimeCounter::min | ( | ) | const |
std::ostream & hpp::debug::TimeCounter::print | ( | std::ostream & | os | ) | const |
void hpp::debug::TimeCounter::reset | ( | ) |
void hpp::debug::TimeCounter::start | ( | ) |
TimeCounter::time_duration hpp::debug::TimeCounter::stop | ( | ) |
TimeCounter::time_duration hpp::debug::TimeCounter::totalTime | ( | ) | const |