HomeSort by relevance Sort by last modified time
    Searched refs:HISTOGRAM (Results 1 - 6 of 6) sorted by null

  /external/chromium/chrome/browser/extensions/
extension_metrics_apitest.cc 7 #include "base/metrics/histogram.h"
32 base::Histogram::ClassType type;
37 {"test.h.1", base::Histogram::HISTOGRAM, 1, 100, 50}, // custom
38 {"test.h.2", base::Histogram::LINEAR_HISTOGRAM, 1, 200, 50}, // custom
39 {"test.h.3", base::Histogram::LINEAR_HISTOGRAM, 1, 101, 102}, // percentage
40 {"test.time", base::Histogram::HISTOGRAM, 1, 10000, 50},
41 {"test.medium.time", base::Histogram::HISTOGRAM, 1, 180000, 50}
    [all...]
extension_metrics_module.cc 7 #include "base/metrics/histogram.h"
14 using base::Histogram;
72 Histogram::ClassType type,
78 Histogram* counter;
79 if (type == Histogram::LINEAR_HISTOGRAM) {
84 Histogram::kUmaTargetedHistogramFlag);
86 counter = Histogram::FactoryGet(full_name,
90 Histogram::kUmaTargetedHistogramFlag);
101 // Get the histogram parameters from the metric type object.
116 Histogram::ClassType histogram_type(type == "histogram-linear"
    [all...]
  /external/chromium/net/disk_cache/
stats_histogram.cc 12 using base::Histogram;
26 Histogram* histogram(NULL);
32 if (StatisticsRecorder::FindHistogram(name, &histogram)) {
33 DCHECK(histogram != NULL);
40 histogram = StatisticsRecorder::RegisterOrDeleteDuplicate(stats_histogram);
43 DCHECK(HISTOGRAM == histogram->histogram_type());
44 DCHECK(histogram->HasConstructorArguments(minimum, maximum, bucket_count));
48 StatsHistogram* return_histogram = static_cast<StatsHistogram*>(histogram);
    [all...]
  /external/opencv/cvaux/src/
cvbgfg_acmmm2003.cpp 248 // Create histogram:
250 long HISTOGRAM[PIXELRANGE];
251 for (i=0 ; i<PIXELRANGE; i++) HISTOGRAM[i]=0;
259 HISTOGRAM[diff]++;
274 sum += double(j)*double(HISTOGRAM[j]);
275 sqsum += double(j*j)*double(HISTOGRAM[j]);
276 count += HISTOGRAM[j];
  /external/chromium/base/metrics/
histogram.cc 5 // Histogram is an object that aggregates statistics, and can summarize them in
10 #include "base/metrics/histogram.h"
25 const uint32 Histogram::kCrcTable[256] = {0x0, 0x77073096L, 0xee0e612cL,
71 typedef Histogram::Count Count;
74 const size_t Histogram::kBucketCount_MAX = 16384u;
76 Histogram* Histogram::FactoryGet(const std::string& name,
81 Histogram* histogram(NULL);
89 if (!StatisticsRecorder::FindHistogram(name, &histogram)) {
    [all...]
histogram.h 5 // Histogram is an object that aggregates statistics, and can summarize them in
15 // That bucket allocation would actually result from construction of a histogram
17 // Histogram count(L"some name", 1, 64, 8);
22 // in each consecutive bucket. The Histogram class automatically calculates
28 // at the low end of the histogram scale, but allows the histogram to cover a
32 // pointer to a histogram. This static is explicitly initialized on any thread
60 // Provide easy general purpose histogram in a macro, just like stats counters.
77 static base::Histogram* counter(NULL); \
79 counter = base::Histogram::FactoryGet(name, min, max, bucket_count,
    [all...]

Completed in 313 milliseconds