#include <userver/utils/statistics/min_max_avg.hpp>
Class for concurrent safe calculation of minimum, maximum and average over series of values.
Definition at line 23 of file min_max_avg.hpp.
Classes | |
| struct | Current |
Public Member Functions | |
| MinMaxAvg (const MinMaxAvg &other) noexcept | |
| MinMaxAvg & | operator= (const MinMaxAvg &rhs) noexcept |
| Current | GetCurrent () const |
| void | Account (ValueType value) |
| template<class Duration = std::chrono::seconds> | |
| void | Add (const MinMaxAvg &other, Duration this_epoch_duration=Duration(), Duration before_this_epoch_duration=Duration()) |
| void | Reset () |
| bool | IsEmpty () const noexcept |
|
inlineconstexprnoexcept |
Definition at line 42 of file min_max_avg.hpp.
|
inlinenoexcept |
Definition at line 46 of file min_max_avg.hpp.
|
inline |
Definition at line 73 of file min_max_avg.hpp.
|
inline |
Definition at line 93 of file min_max_avg.hpp.
|
inline |
Definition at line 59 of file min_max_avg.hpp.
|
inlinenoexcept |
Definition at line 127 of file min_max_avg.hpp.
|
inlinenoexcept |
Definition at line 48 of file min_max_avg.hpp.
|
inline |
Definition at line 120 of file min_max_avg.hpp.