|
virtual double | AverageInternal ()=0 |
| Note that these *Internal interfaces require the mutex to be held.
|
|
virtual double | PercentileInternal (const double perc)=0 |
|
virtual double | StandardDeviationInternal ()=0 |
|
virtual double | CountInternal ()=0 |
|
virtual double | MaximumInternal ()=0 |
|
virtual double | MinimumInternal ()=0 |
|
virtual AbstractMutex * | lock ()=0 |
|
void | WriteRawHistogramData (Writer *writer, MessageHandler *handler) |
|
virtual double net_instaweb::Histogram::BucketStart |
( |
int |
index | ) |
|
|
pure virtual |
Formats the histogram statistics as an HTML table row. This is intended for use in Statistics::RenderHistograms.
The
element id is given id=hist_row_d where d is from the index. Included in the row an input radio button which is initiated in state 'selected' for index==0.
double net_instaweb::Histogram::Percentile |
( |
const double |
perc | ) |
|
|
inline |
Return estimated value that is greater than perc% of all data. e.g. Percentile(20) returns the value which is greater than 20% of data.
virtual void net_instaweb::Histogram::Render |
( |
int |
index, |
|
|
Writer * |
writer, |
|
|
MessageHandler * |
handler |
|
) |
| |
|
virtual |
Write Histogram Data to the writer. Default implementation does not include histogram graph, but only raw histogram data table. It looks like:
| TITLE String | | Avg: StdDev: Median: 90%: 95%: 99% | | Raw Histogram Data: | | [0,1] 1 25% 25% ||||| | | [2,3] 1 25% 50% ||||| | | [4,5] 2 50% 100% |||||||||| | |_______________________________________|
Reimplemented in net_instaweb::SplitHistogram.
virtual void net_instaweb::Histogram::SetMaxValue |
( |
double |
value | ) |
|
|
pure virtual |
virtual void net_instaweb::Histogram::SetSuggestedNumBuckets |
( |
int |
i | ) |
|
|
pure virtual |
Helper function of Render(), write entries of histogram raw data table. Each entry includes bucket range, bucket count, percentage, cumulative percentage, bar. It looks like: [0,1] 1 5% 5% |||| [2,3] 2 10% 15% |||||||| Precondition: mutex held.
The documentation for this class was generated from the following file: