Logo Search packages:      
Sourcecode: leveldb version File versions  Download package

Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes

leveldb::Histogram Class Reference

List of all members.

Public Member Functions

void Add (double value)
void Clear ()
void Merge (const Histogram &other)
std::string ToString () const

Private Types

enum  { kNumBuckets = 154 }

Private Member Functions

double Average () const
double Median () const
double Percentile (double p) const
double StandardDeviation () const

Private Attributes

double buckets_ [kNumBuckets]
double max_
double min_
double num_
double sum_
double sum_squares_

Static Private Attributes

static const double kBucketLimit [kNumBuckets]

Detailed Description

Definition at line 12 of file histogram.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index