46 void add(
double _value,
size_t _count = 1);
void dump_to_file(const std::string &_fileName) const
The main namespace of xerus.
LogHistogram & operator+=(const LogHistogram &_other)
static LogHistogram read_from_file(const std::string &_fileName)
A logarithmic histogram, i.e. the size of all buckets is given by a constant factor [x - x*base) ...
void add(double _value, size_t _count=1)
std::map< int, size_t > buckets
LogHistogram(const double _base)