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

  /external/chromium_org/build/util/lib/common/
perf_result_data_type.py 7 HISTOGRAM = 'histogram'
8 UNIMPORTANT_HISTOGRAM = 'unimportant-histogram'
11 ALL_TYPES = [DEFAULT, UNIMPORTANT, HISTOGRAM, UNIMPORTANT_HISTOGRAM,
20 return (datatype == HISTOGRAM or datatype == UNIMPORTANT_HISTOGRAM)
perf_tests_results_helper.py 19 perf_result_data_type.UNIMPORTANT_HISTOGRAM: 'HISTOGRAM ',
20 perf_result_data_type.HISTOGRAM: '*HISTOGRAM '}
40 histogram = json.loads(histogram_json)
42 if not 'buckets' in histogram:
46 for bucket in histogram['buckets']:
60 for bucket in histogram['buckets']:
  /external/chromium_org/chrome/browser/prerender/
prerender_histograms.cc 10 #include "base/metrics/histogram.h"
84 // Helper macros for experiment-based and origin-based histogram reporting.
85 // All HISTOGRAM arguments must be UMA_HISTOGRAM... macros that contain an
88 #define PREFIXED_HISTOGRAM(histogram_name, origin, HISTOGRAM) \
90 IsOriginExperimentWash(), HISTOGRAM, \
94 experiment, HISTOGRAM) \
95 PREFIXED_HISTOGRAM_INTERNAL(origin, experiment, false, HISTOGRAM, \
98 #define PREFIXED_HISTOGRAM_INTERNAL(origin, experiment, wash, HISTOGRAM, \
101 /* Do not rename. HISTOGRAM expects a local variable "name". */ \
103 HISTOGRAM; \
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/metrics_private/
metrics_apitest.cc 8 #include "base/metrics/histogram.h"
38 {"test.h.1", base::HISTOGRAM, 1, 100, 50, 1}, // custom
44 {"test.time", base::HISTOGRAM, 1, 10000, 50, 1},
45 {"test.medium.time", base::HISTOGRAM, 1, 180000, 50, 1},
46 {"test.long.time", base::HISTOGRAM, 1, 3600000, 50, 1},
47 {"test.count", base::HISTOGRAM, 1, 1000000, 50, 1},
48 {"test.medium.count", base::HISTOGRAM, 1, 10000, 50, 1},
49 {"test.small.count", base::HISTOGRAM, 1, 100, 50, 1},
51 {"test.bucketchange.log", base::HISTOGRAM, 1, 100, 10, 2}, };
53 // Represents a bucket in a sparse histogram
    [all...]
metrics_private_api.cc 10 #include "base/metrics/histogram.h"
102 counter = base::Histogram::FactoryGet(
107 // The histogram can be NULL if it is constructed with bad arguments. Ignore
118 // Get the histogram parameters from the metric type object.
122 base::HistogramType histogram_type(type == "histogram-linear" ?
123 base::LINEAR_HISTOGRAM : base::HISTOGRAM);
150 return RecordValue(params->metric_name, base::HISTOGRAM,
158 return RecordValue(params->metric_name, base::HISTOGRAM,
166 return RecordValue(params->metric_name, base::HISTOGRAM,
174 return RecordValue(params->metric_name, base::HISTOGRAM,
    [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);
histogram_base.h 33 // HistogramBase, add new histogram types and names below.
36 HISTOGRAM,
45 // Create or find existing histogram that matches the pickled info.
63 // Histogram should be UMA uploaded.
66 // Indicates that this is a stability histogram. This flag exists to specify
71 // Indicates that the histogram was pickled to be sent across an IPC
72 // Channel. If we observe this flag on a histogram being aggregated into
75 // the source histogram!).
78 // Only for Histogram and its sub classes: fancy bucket-naming support.
82 // 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
358 HistogramBase* histogram = Histogram::FactoryGet( local
546 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name); local
645 HistogramBase* histogram = LinearHistogram::FactoryGet( local
659 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name); local
700 HistogramBase* histogram = BooleanHistogram::FactoryGet( local
718 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name); local
803 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);
79 HistogramBase* histogram = LinearHistogram::FactoryGet( local
82 scoped_ptr<HistogramSamples> samples = histogram->SnapshotSamples();
90 Histogram::InitializeBucketRanges(1, 64, &ranges);
99 // Check the corresponding Histogram will use the correct ranges
100 Histogram* histogram = static_cast<Histogram*>( local
141 Histogram* histogram = static_cast<Histogram*>( local
179 Histogram* histogram = static_cast<Histogram*>( local
228 Histogram* histogram = static_cast<Histogram*>( local
241 Histogram* histogram = static_cast<Histogram*>( local
288 Histogram* histogram = static_cast<Histogram*>( local
307 Histogram* histogram = static_cast<Histogram*>( local
334 Histogram* histogram = static_cast<Histogram*>( local
369 Histogram* histogram = static_cast<Histogram*>( local
444 HistogramBase* histogram = Histogram::FactoryGet( local
475 HistogramBase* histogram = Histogram::FactoryGet( local
    [all...]
  /external/chromium_org/components/metrics/serialization/
metric_sample.cc 58 } else if (type_ == HISTOGRAM) {
59 return base::StringPrintf("histogram%c%s %d %d %d %d%c",
84 CHECK_EQ(type_, HISTOGRAM);
96 CHECK_EQ(type_, HISTOGRAM);
115 HISTOGRAM, histogram_name, sample, min, max, bucket_count));
metric_sample.h 24 HISTOGRAM,
56 // histogram: histogram\0|name_| |sample_| |min_| |max_| |bucket_count_|\0
64 // Builds a histogram sample.
71 // Deserializes a histogram sample.
74 // Builds a sparse histogram sample.
78 // Deserializes a sparse histogram sample.
82 // Builds a linear histogram sample.
87 // Deserializes a linear histogram sample.
  /external/chromium_org/chrome/browser/chromeos/
external_metrics.cc 14 #include "base/metrics/histogram.h"
37 if (!base::Histogram::InspectConstructionArguments(
40 base::HistogramBase* histogram =
42 if (!histogram)
44 return histogram->HasConstructionArguments(minimum, maximum, bucket_count);
163 CHECK_EQ(metrics::MetricSample::HISTOGRAM, sample.type());
166 DLOG(ERROR) << "Invalid histogram: " << sample.name();
171 base::Histogram::FactoryGet(sample.name(),
175 base::Histogram::kUmaTargetedHistogramFlag);
183 DLOG(ERROR) << "Invalid linear histogram: " << sample.name()
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/core/
bitmaptools.cc 16 HISTOGRAM = 1,
169 bool Histogram(const Bitmap& bmp) {
173 fprintf(stderr, "Could not parse HISTOGRAM command.\n");
256 case HISTOGRAM:
257 if (!Histogram(bmp)) return -1;
bitmap.py 7 tools: crop, find bounding box of a color and compute histogram of color values.
42 raise ValueError('First histogram has 0 pixels in it.')
44 raise ValueError('Second histogram has 0 pixels in it.')
52 '%s pixel(s) left over after computing histogram distance.'
73 raise ValueError('Histogram has no data and no default color.')
78 raise ValueError('Histogram has no data and no default color.')
121 HISTOGRAM = 1
157 def Histogram(self, ignore_color, tolerance):
159 response = self._RunCommand(_BitmapTools.HISTOGRAM,
342 """Computes a histogram of the pixel colors in this Bitmap
    [all...]
  /frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
ImageProcessingTest.java 394 // Test case 40 Histogram
397 TestAction ta = new TestAction(TestName.HISTOGRAM);
398 runTest(ta, TestName.HISTOGRAM.name());
ImageProcessingActivity.java 103 HISTOGRAM ("Histogram"),
365 case HISTOGRAM:
366 mTest = new 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];

Completed in 305 milliseconds