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 |
ostream & | operator<< (ostream &os, PutPercentiles pp) |
auto | put_percentiles (const Histogram &h, std::int32_t ticks_per_half_distance, double value_scale) noexcept |
A C++ port of HdrHistogram_c written Michael Barker and released to the public domain.
|
noexcept |
Definition at line 41 of file Utility.cpp.
|
noexcept |
Definition at line 46 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 51 of file Utility.cpp.
|
noexcept |
Gets the mean for the values in the histogram.
h | The histogram. |
Definition at line 66 of file Utility.cpp.
|
noexcept |
Gets the standard deviation for the values in the histogram.
h | The histogram. |
Definition at line 80 of file Utility.cpp.
TOOLBOX_API std::ostream & toolbox::hdr::operator<< | ( | ostream & | os, |
PutPercentiles | pp | ||
) |
Definition at line 96 of file Utility.cpp.