![]() |
Toolbox snapshot
The Reactive C++ Toolbox
|
A C++ port of HdrHistogram_c written Michael Barker and released to the public domain. More...
Classes | |
struct | BucketConfig |
Bucket configuration. More... | |
class | CountAddedIterator |
CountAddedIterator is a recorded value iterator. More... | |
class | Histogram |
A High Dynamic Range (HDR) Histogram. More... | |
class | Iterator |
Iterator is the base iterator for all iterator types. More... | |
class | LinearIterator |
LinearIterator is a linear value iterator. More... | |
class | LogIterator |
LogIterator is a logarithmic value iterator. More... | |
class | PercentileIterator |
PercentileIterator is a percentile iterator. More... | |
struct | PutPercentiles |
class | RecordedIterator |
RecordedIterator is a recorded value iterator. More... | |
Functions | |
int64_t | min (const Histogram &h) noexcept |
int64_t | max (const Histogram &h) noexcept |
int64_t | value_at_percentile (const Histogram &h, double percentile) noexcept |
double | mean (const Histogram &h) noexcept |
double | stddev (const Histogram &h) noexcept |
auto | put_percentiles (const Histogram &h, std::int32_t ticks_per_half_distance, double value_scale) noexcept |
template<typename StreamT > requires Streamable<StreamT> | |
StreamT & | operator<< (StreamT &os, PutPercentiles pp) |
A C++ port of HdrHistogram_c written Michael Barker and released to the public domain.
|
noexcept |
Definition at line 37 of file Utility.cpp.
|
noexcept |
Definition at line 42 of file Utility.cpp.
|
noexcept |
Get the value at a specific percentile.
h | The histogram. |
percentile | The percentile to get the value for. |
Definition at line 47 of file Utility.cpp.
|
noexcept |
Gets the mean for the values in the histogram.
h | The histogram. |
Definition at line 62 of file Utility.cpp.
|
noexcept |
Gets the standard deviation for the values in the histogram.
h | The histogram. |
Definition at line 76 of file Utility.cpp.
|
inlinenoexcept |
Definition at line 60 of file Utility.hpp.
StreamT & toolbox::hdr::operator<< | ( | StreamT & | os, |
PutPercentiles | pp | ||
) |
Definition at line 68 of file Utility.hpp.