Class allows easy calculation of percentiles.
Definition in file percentile.hpp.
Go to the source code of this file.
#include <array>
#include <atomic>
#include <chrono>
#include <string>
#include <userver/utils/statistics/writer.hpp>
Classes | |
class | utils::statistics::Percentile< M, Counter, ExtraBuckets, ExtraBucketSize > |
Class allows easy calculation of percentiles. More... | |
Namespaces | |
namespace | utils |
Utilities. | |
Functions | |
std::string | utils::statistics::GetPercentileFieldName (double perc) |
template<size_t M, typename Counter , size_t ExtraBuckets, size_t ExtraBucketSize> | |
void | utils::statistics::DumpMetric (Writer &writer, const Percentile< M, Counter, ExtraBuckets, ExtraBucketSize > &perc, std::initializer_list< double > percents={0, 50, 90, 95, 98, 99, 99.6, 99.9, 100}) |
void utils::statistics::DumpMetric | ( | Writer & | writer, |
const Percentile< M, Counter, ExtraBuckets, ExtraBucketSize > & | perc, | ||
std::initializer_list< double > | percents = {0, 50, 90, 95, 98, 99, 99.6, 99.9, 100} ) |
Definition at line 197 of file percentile.hpp.