/external/libchrome/base/metrics/ |
histogram_base.cc | 14 #include "base/metrics/histogram.h" 27 case HISTOGRAM: 28 return "HISTOGRAM"; 48 case HISTOGRAM: 49 return Histogram::DeserializeInfoImpl(iter); 140 // Calling FactoryGet() here rather than using a histogram-macro works 142 // histogram when not expected due to a bad interaction between 192 void HistogramBase::ReportHistogramActivity(const HistogramBase& histogram, 197 const int32_t flags = histogram.flags_; 202 switch (histogram.GetHistogramType()) [all...] |
histogram_base.h | 35 // HistogramBase, add new histogram types and names below. 38 HISTOGRAM, 49 // visible to files that define the various histogram types. 63 // These count the individual histogram types. This must follow the order 80 // Create or find existing histogram that matches the pickled info. 97 // Histogram should be UMA uploaded. 100 // Indicates that this is a stability histogram. This flag exists to specify 105 // Indicates that the histogram was pickled to be sent across an IPC 106 // Channel. If we observe this flag on a histogram being aggregated into 109 // the source histogram!) [all...] |
persistent_histogram_allocator.cc | 16 #include "base/metrics/histogram.h" 29 // Name of histogram for storing results of local operations. 38 kTypeIdHistogram = 0xF1645910 + 2, // SHA1(Histogram) v2 74 // Calculate the number of bytes required to store all of a histogram's 162 // The sample-record could be for any sparse histogram. Add the reference 238 // Space for the histogram name will be added during the actual allocation 268 // Unfortunately, the histogram "pickle" methods cannot be used as part of 303 // Create the metadata necessary for a persistent sparse histogram. This 361 // Create the histogram using resources in persistent memory. This ends up 365 // correct before commiting the new histogram to persistent space 366 std::unique_ptr<HistogramBase> histogram = CreateHistogram(histogram_data); local 512 std::unique_ptr<HistogramBase> histogram = local 579 std::unique_ptr<HistogramBase> histogram; local 858 std::unique_ptr<HistogramBase> histogram = local [all...] |
histogram.cc | 5 // Histogram is an object that aggregates statistics, and can summarize them in 10 #include "base/metrics/histogram.h" 51 DLOG(ERROR) << "Pickle error decoding Histogram: " << *histogram_name; 56 // checks above and beyond those in Histogram::Initialize() 62 DLOG(ERROR) << "Values error decoding Histogram: " << histogram_name; 66 // We use the arguments to find or create the local version of the histogram 73 bool ValidateRangeChecksum(const HistogramBase& histogram, 75 const Histogram& casted_histogram = 76 static_cast<const Histogram&>(histogram); 150 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name_); local 576 HistogramBase* histogram = Histogram::FactoryGet( local 763 LinearHistogram* histogram = static_cast<LinearHistogram*>(base_histogram); variable 922 HistogramBase* histogram = LinearHistogram::FactoryGet( local 1007 HistogramBase* histogram = BooleanHistogram::FactoryGet( local 1168 HistogramBase* histogram = CustomHistogram::FactoryGet( local [all...] |
histogram_unittest.cc | 5 #include "base/metrics/histogram.h" 31 // for histogram allocation. False will allocate histograms from the process 43 // Each test will have a clean state (no Histogram / BucketRanges 67 // By getting the results-histogram before any persistent allocator 68 // is attached, that histogram is guaranteed not to be stored in 99 HistogramBase* histogram = Histogram::FactoryGet( local 101 EXPECT_TRUE(histogram); 142 HistogramBase* histogram = LinearHistogram::FactoryGet( local 145 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples() 152 HistogramBase* histogram = local 181 HistogramBase* histogram = local 218 Histogram* histogram = static_cast<Histogram*>( local 259 Histogram* histogram = static_cast<Histogram*>( local 297 Histogram* histogram = static_cast<Histogram*>( local 346 Histogram* histogram = static_cast<Histogram*>( local 358 Histogram* histogram = static_cast<Histogram*>( local 381 Histogram* histogram = static_cast<Histogram*>( local 406 Histogram* histogram = static_cast<Histogram*>( local 453 Histogram* histogram = static_cast<Histogram*>( local 506 Histogram* histogram = static_cast<Histogram*>( local 541 Histogram* histogram = static_cast<Histogram*>( local 617 HistogramBase* histogram = Histogram::FactoryGet( local [all...] |
/frameworks/rs/tests/java_api/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];
|
/external/libmojo/base/android/ |
record_histogram.cc | 16 #include "base/metrics/histogram.h" 34 std::string HistogramConstructionParamsToString(HistogramBase* histogram) { 35 std::string params_str = histogram->histogram_name(); 36 switch (histogram->GetHistogramType()) { 37 case HISTOGRAM: 41 Histogram* hist = static_cast<Histogram*>(histogram); 57 HistogramBase* histogram) { 58 DCHECK(histogram->HasConstructionArguments(expected_min, expected_max 69 HistogramBase* histogram = HistogramFromKey(j_histogram_key); local 84 HistogramBase* histogram = HistogramFromKey(j_histogram_key); local 109 HistogramBase* histogram = HistogramFromKey(j_histogram_key); local 133 HistogramBase* histogram = HistogramFromKey(j_histogram_key); local 151 HistogramBase* histogram = HistogramFromKey(j_histogram_key); local 168 HistogramBase* histogram = HistogramFromKey(j_histogram_key); local 208 HistogramBase* histogram = g_histograms.Get().BooleanHistogram( local 222 HistogramBase* histogram = g_histograms.Get().EnumeratedHistogram( local 238 HistogramBase* histogram = g_histograms.Get().CustomCountHistogram( local 254 HistogramBase* histogram = g_histograms.Get().LinearCountHistogram( local 266 HistogramBase* histogram = g_histograms.Get().SparseHistogram( local 281 HistogramBase* histogram = g_histograms.Get().CustomTimesHistogram( local 301 HistogramBase* histogram = StatisticsRecorder::FindHistogram( local [all...] |