Page Speed Optimization Libraries
1.6.29.3
|
#include "split_statistics.h"
Public Member Functions | |
SplitHistogram (ThreadSystem *thread_system, Histogram *rw, Histogram *w) | |
virtual void | Add (double value) |
virtual void | Clear () |
virtual void | Render (int index, Writer *writer, MessageHandler *handler) |
virtual int | NumBuckets () |
virtual void | EnableNegativeBuckets () |
virtual void | SetMinValue (double value) |
virtual void | SetMaxValue (double value) |
virtual void | SetSuggestedNumBuckets (int i) |
virtual double | BucketStart (int index) |
virtual double | BucketLimit (int index) |
virtual double | BucketCount (int index) |
Protected Member Functions | |
virtual double | AverageInternal () |
virtual double | PercentileInternal (const double perc) |
virtual double | StandardDeviationInternal () |
virtual double | CountInternal () |
virtual double | MaximumInternal () |
virtual double | MinimumInternal () |
virtual AbstractMutex * | lock () |
A histogram that forwards writes to two other Histogram objects, but reads only from one.
net_instaweb::SplitHistogram::SplitHistogram | ( | ThreadSystem * | thread_system, |
Histogram * | rw, | ||
Histogram * | w | ||
) |
Histogram 'rw' will be used to read and write, histogram 'w' will be used for writes only. Does not take ownership of either 'rw' or 'w'. 'rw' and 'w' must be non-NULL.
virtual void net_instaweb::SplitHistogram::Add | ( | double | value | ) | [virtual] |
Reimplementation of the histogram API. See the base class for method descriptions.