|
hpp-util 6.0.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 std::chrono::system_clock | clock_type |
| typedef clock_type::time_point | time_point |
| typedef std::chrono::duration< double > | duration_type |
Public Member Functions | |
| TimeCounter (const std::string &name) | |
| void | start () |
| double | stop () |
| double | last () |
| void | reset () |
| double | min () const |
| double | max () const |
| double | mean () const |
| double | totalTime () const |
| std::ostream & | print (std::ostream &os) const |
Computation of min, max and mean time from a set of measurements.
| typedef std::chrono::system_clock hpp::debug::TimeCounter::clock_type |
| typedef std::chrono::duration<double> hpp::debug::TimeCounter::duration_type |
| typedef clock_type::time_point hpp::debug::TimeCounter::time_point |
| hpp::debug::TimeCounter::TimeCounter | ( | const std::string & | name | ) |
| double hpp::debug::TimeCounter::last | ( | ) |
| double hpp::debug::TimeCounter::max | ( | ) | const |
| double hpp::debug::TimeCounter::mean | ( | ) | const |
| double 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 | ( | ) |
| double hpp::debug::TimeCounter::stop | ( | ) |
| double hpp::debug::TimeCounter::totalTime | ( | ) | const |