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

  /external/chromium_org/chrome/browser/extensions/api/metrics_private/
metrics_apitest.cc 8 #include "base/metrics/histogram.h"
37 {"test.h.1", base::HISTOGRAM, 1, 100, 50}, // custom
40 {"test.time", base::HISTOGRAM, 1, 10000, 50},
41 {"test.medium.time", base::HISTOGRAM, 1, 180000, 50},
42 {"test.long.time", base::HISTOGRAM, 1, 3600000, 50},
43 {"test.count", base::HISTOGRAM, 1, 1000000, 50},
44 {"test.medium.count", base::HISTOGRAM, 1, 10000, 50},
45 {"test.small.count", base::HISTOGRAM, 1, 100, 50},
105 // Code other than the tests tun here will record some histogram values, but
106 // we will ignore those. This function validates that all the histogram w
    [all...]
metrics_private_api.cc 10 #include "base/metrics/histogram.h"
137 counter = base::Histogram::FactoryGet(
150 // Get the histogram parameters from the metric type object.
154 base::HistogramType histogram_type(type == "histogram-linear" ?
155 base::LINEAR_HISTOGRAM : base::HISTOGRAM);
172 return RecordValue(params->metric_name, base::HISTOGRAM,
180 return RecordValue(params->metric_name, base::HISTOGRAM,
188 return RecordValue(params->metric_name, base::HISTOGRAM,
196 return RecordValue(params->metric_name, base::HISTOGRAM,
205 return RecordValue(params->metric_name, base::HISTOGRAM,
    [all...]
  /external/chromium_org/chrome/browser/prerender/
prerender_histograms.cc 10 #include "base/metrics/histogram.h"
78 // Helper macros for experiment-based and origin-based histogram reporting.
79 // All HISTOGRAM arguments must be UMA_HISTOGRAM... macros that contain an
82 #define PREFIXED_HISTOGRAM(histogram_name, origin, HISTOGRAM) \
84 IsOriginExperimentWash(), HISTOGRAM, \
88 experiment, HISTOGRAM) \
89 PREFIXED_HISTOGRAM_INTERNAL(origin, experiment, false, HISTOGRAM, \
92 #define PREFIXED_HISTOGRAM_INTERNAL(origin, experiment, wash, HISTOGRAM, \
95 /* Do not rename. HISTOGRAM expects a local variable "name". */ \
97 HISTOGRAM; \
    [all...]
  /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_org/base/metrics/
histogram_base.cc 12 #include "base/metrics/histogram.h"
24 case HISTOGRAM:
25 return "HISTOGRAM";
46 case HISTOGRAM:
47 return Histogram::DeserializeInfoImpl(iter);
62 HistogramBase* histogram = DeserializeHistogramInfo(iter); local
63 if (!histogram)
66 if (histogram->flags() & base::HistogramBase::kIPCSerializationSourceFlag) {
67 DVLOG(1) << "Single process mode, histogram observed and not copied: "
68 << histogram->histogram_name()
    [all...]
histogram_base.h 28 // HistogramBase, add new histogram types and names below.
31 HISTOGRAM,
40 // Create or find existing histogram that matches the pickled info.
45 // Create or find existing histogram and add the samples from pickle.
60 kUmaTargetedHistogramFlag = 0x1, // Histogram should be UMA uploaded.
62 // Indicate that the histogram was pickled to be sent across an IPC Channel.
63 // If we observe this flag on a histogram being aggregated into after IPC,
66 // histogram!).
69 // Only for Histogram and its sub classes: fancy bucket-naming support.
73 // Histogram data inconsistency types
    [all...]
histogram.cc 5 // Histogram is an object that aggregates statistics, and can summarize them in
10 #include "base/metrics/histogram.h"
48 DLOG(ERROR) << "Pickle error decoding Histogram: " << *histogram_name;
53 // checks above and beyond those in Histogram::Initialize()
59 DLOG(ERROR) << "Values error decoding Histogram: " << histogram_name;
63 // We use the arguments to find or create the local version of the histogram
71 bool ValidateRangeChecksum(const HistogramBase& histogram,
73 const Histogram& casted_histogram =
74 static_cast<const Histogram&>(histogram);
96 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name); local
357 HistogramBase* histogram = Histogram::FactoryGet( local
545 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name); local
635 HistogramBase* histogram = LinearHistogram::FactoryGet( local
649 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name); local
690 HistogramBase* histogram = BooleanHistogram::FactoryGet( local
708 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name); local
793 HistogramBase* histogram = CustomHistogram::FactoryGet( local
    [all...]
histogram_unittest.cc 5 // Test of Histogram class
14 #include "base/metrics/histogram.h"
28 // Each test will have a clean state (no Histogram / BucketRanges
52 HistogramBase* histogram = Histogram::FactoryGet( local
54 EXPECT_TRUE(histogram);
82 HistogramBase* histogram = LinearHistogram::FactoryGet( local
85 scoped_ptr<HistogramSamples> samples = histogram->SnapshotSamples();
93 Histogram::InitializeBucketRanges(1, 64, &ranges);
102 // Check the corresponding Histogram will use the correct ranges
103 Histogram* histogram = static_cast<Histogram*>( local
144 Histogram* histogram = static_cast<Histogram*>( local
182 Histogram* histogram = static_cast<Histogram*>( local
231 Histogram* histogram = static_cast<Histogram*>( local
244 Histogram* histogram = static_cast<Histogram*>( local
291 Histogram* histogram = static_cast<Histogram*>( local
310 Histogram* histogram = static_cast<Histogram*>( local
337 Histogram* histogram = static_cast<Histogram*>( local
372 Histogram* histogram = static_cast<Histogram*>( local
452 HistogramBase* histogram = Histogram::FactoryGet( local
    [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/chromium_org/net/disk_cache/
stats_histogram.cc 18 using base::Histogram;
28 : Histogram(name, minimum, maximum, ranges),
47 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name); local
48 if (!histogram) {
61 histogram = StatisticsRecorder::RegisterOrDeleteDuplicate(stats_histogram);
64 DCHECK(base::HISTOGRAM == histogram->GetHistogramType());
65 DCHECK(histogram->HasConstructionArguments(minimum, maximum, bucket_count));
69 StatsHistogram* return_histogram = static_cast<StatsHistogram*>(histogram);
  /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];
  /frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
ImageProcessingActivity.java 156 HISTOGRAM ("Histogram");
420 case HISTOGRAM:
421 mTest = new Histogram();
  /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 2370 milliseconds