| Index: webrtc/system_wrappers/include/metrics_default.h
|
| diff --git a/webrtc/system_wrappers/include/metrics_default.h b/webrtc/system_wrappers/include/metrics_default.h
|
| index e4b790bc16f1896b797de344ea99723d3a5a005d..94ba3cda321b7e1abea52d04d29958efeae4e52e 100644
|
| --- a/webrtc/system_wrappers/include/metrics_default.h
|
| +++ b/webrtc/system_wrappers/include/metrics_default.h
|
| @@ -18,6 +18,10 @@
|
| namespace webrtc {
|
| namespace metrics {
|
|
|
| +// This class does not actually exist. It is casted to an implementation defined
|
| +// pointer inside the functions.
|
| +class Histogram;
|
| +
|
| struct SampleInfo {
|
| SampleInfo(const std::string& name, int min, int max, size_t bucket_count);
|
| ~SampleInfo();
|
| @@ -51,6 +55,9 @@ int NumSamples(const std::string& name);
|
| // Returns the minimum sample value (or -1 if the histogram has no samples).
|
| int MinSample(const std::string& name);
|
|
|
| +// Function for adding a |sample| to a histogram without checkking the name.
|
| +void HistogramAdd(Histogram* histogram_pointer, int sample);
|
| +
|
| } // namespace metrics
|
| } // namespace webrtc
|
|
|
|
|