Home | History | Annotate | Download | only in metrics

Lines Matching defs:Histogram

5 // Histogram is an object that aggregates statistics, and can summarize them in
12 // For Histogram(exponential histogram), LinearHistogram and CustomHistogram,
20 // Each use of a histogram with the same name will reference the same underlying
21 // data, so it is safe to record to the same histogram from multiple locations
22 // in the code. It is a runtime error if all uses of the same histogram do not
25 // For Histogram and LinearHistogram, the maximum for a declared range should
32 // (Histogram::kBucketCount_MAX - 1).
34 // The buckets layout of class Histogram is exponential. For example, buckets
37 // That bucket allocation would actually result from construction of a histogram
39 // Histogram count("some name", 1, 64, 8);
44 // in each consecutive bucket. The Histogram class automatically calculates
50 // at the low end of the histogram scale, but allows the histogram to cover a
53 // Usually we use macros to define and use a histogram, which are defined in
55 // directly if they only access the histogram APIs through macros.
58 // to a histogram. This static is explicitly initialized on any thread
93 class Histogram;
99 class BASE_EXPORT Histogram : public HistogramBase {
107 // For a valid histogram, input should follow these restrictions:
155 // consistent with the bucket ranges and checksums in our histogram. This can
170 // This function validates histogram construction arguments. It returns false
198 Histogram(const std::string& name,
203 ~Histogram() override;
248 // Write a common header message describing this histogram.
278 DISALLOW_COPY_AND_ASSIGN(Histogram);
283 // LinearHistogram is a more traditional histogram, with evenly spaced
285 class BASE_EXPORT LinearHistogram : public Histogram {
322 // writing the histogram graph.
338 // Overridden from Histogram:
373 // BooleanHistogram is a histogram for booleans.
397 // CustomHistogram is a histogram for a set of custom integers.
398 class BASE_EXPORT CustomHistogram : public Histogram {
415 // Overridden from Histogram: