QcIntervalStats Class
Collects durations until take() hands out their mean and maximum and starts anew. More...
| Header: | #include <common/diagnostics/QcIntervalStats.h> |
Public Functions
Detailed Description
One thread.
Member Function Documentation
void QcIntervalStats::add(double ms)
Adds a duration of ms milliseconds.
std::optional<QcIntervalTiming> QcIntervalStats::take()
Returns the interval so far; std::nullopt when nothing was added.