summaryrefslogtreecommitdiffstats
path: root/runtime/base/histogram.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/base/histogram.h')
-rw-r--r--runtime/base/histogram.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/base/histogram.h b/runtime/base/histogram.h
index e22b6e1..d4eb1f4 100644
--- a/runtime/base/histogram.h
+++ b/runtime/base/histogram.h
@@ -40,6 +40,8 @@ template <class Value> class Histogram {
std::vector<double> perc_;
};
+ // Used for name based comparators in the timing loggers.
+ explicit Histogram(const char* name);
Histogram(const char* name, Value initial_bucket_width, size_t max_buckets = 100);
void AddValue(Value);
// Builds the cumulative distribution function from the frequency data.