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 |
Referenced by print().
| TimeCounter::time_duration hpp::debug::TimeCounter::mean | ( | ) | const |
Referenced by print().
| TimeCounter::time_duration hpp::debug::TimeCounter::min | ( | ) | const |
Referenced by print().
| std::ostream & hpp::debug::TimeCounter::print | ( | std::ostream & | os | ) | const |
References max(), mean(), min(), and totalTime().
Referenced by hpp::debug::operator<<().
| void hpp::debug::TimeCounter::reset | ( | ) |
| void hpp::debug::TimeCounter::start | ( | ) |
Referenced by hpp::debug::TimeCounter::Scope::Scope().
| TimeCounter::time_duration hpp::debug::TimeCounter::stop | ( | ) |
| TimeCounter::time_duration hpp::debug::TimeCounter::totalTime | ( | ) | const |
Referenced by print().