#include <uhal/utilities/TimeIntervalStats.hpp>
Public Types | |
| typedef std::chrono::steady_clock | Clock_t |
Public Member Functions | |
| TimeIntervalStats () | |
| ~TimeIntervalStats () | |
| size_t | size () const |
| const Clock_t::duration & | min () const |
| const Clock_t::duration & | max () const |
| Clock_t::duration | mean () const |
| const std::queue< Clock_t::duration > & | getLatestMeasurements () const |
| void | add (const Clock_t::time_point &aT1, const Clock_t::time_point &aT2) |
| void | clear () |
Private Attributes | |
| std::queue< Clock_t::duration > | mLatestMeasurements |
| Clock_t::duration | mMin |
| Clock_t::duration | mMax |
| Clock_t::duration | mSum |
| size_t | nMeasurements |
Definition at line 14 of file TimeIntervalStats.hpp.
| typedef std::chrono::steady_clock uhal::TimeIntervalStats::Clock_t |
Definition at line 16 of file TimeIntervalStats.hpp.
| uhal::TimeIntervalStats::TimeIntervalStats | ( | ) |
Definition at line 11 of file TimeIntervalStats.cpp.
| uhal::TimeIntervalStats::~TimeIntervalStats | ( | ) |
Definition at line 17 of file TimeIntervalStats.cpp.
| void uhal::TimeIntervalStats::add | ( | const Clock_t::time_point & | aT1, |
| const Clock_t::time_point & | aT2 | ||
| ) |
Definition at line 52 of file TimeIntervalStats.cpp.
References mLatestMeasurements, mMax, mMin, mSum, and nMeasurements.
| void uhal::TimeIntervalStats::clear | ( | ) |
Definition at line 70 of file TimeIntervalStats.cpp.
References mLatestMeasurements, and nMeasurements.
| const std::queue< TimeIntervalStats::Clock_t::duration > & uhal::TimeIntervalStats::getLatestMeasurements | ( | ) | const |
Definition at line 46 of file TimeIntervalStats.cpp.
References mLatestMeasurements.
Referenced by uhal::operator<<().
| const TimeIntervalStats::Clock_t::duration & uhal::TimeIntervalStats::max | ( | ) | const |
Definition at line 34 of file TimeIntervalStats.cpp.
References mMax.
Referenced by pybind11.setup_helpers.ParallelCompile::__init__(), pybind11.setup_helpers.ParallelCompile::function(), and uhal::operator<<().
| TimeIntervalStats::Clock_t::duration uhal::TimeIntervalStats::mean | ( | ) | const |
Definition at line 40 of file TimeIntervalStats.cpp.
References mSum, and nMeasurements.
Referenced by uhal::operator<<().
| const TimeIntervalStats::Clock_t::duration & uhal::TimeIntervalStats::min | ( | ) | const |
Definition at line 28 of file TimeIntervalStats.cpp.
References mMin.
Referenced by uhal::operator<<().
| size_t uhal::TimeIntervalStats::size | ( | ) | const |
Definition at line 22 of file TimeIntervalStats.cpp.
References nMeasurements.
Referenced by uhal::operator<<().
|
private |
Definition at line 36 of file TimeIntervalStats.hpp.
Referenced by add(), clear(), and getLatestMeasurements().
|
private |
Definition at line 39 of file TimeIntervalStats.hpp.
|
private |
Definition at line 38 of file TimeIntervalStats.hpp.
|
private |
Definition at line 40 of file TimeIntervalStats.hpp.
|
private |