/toolchain/binutils/binutils-2.25/gprof/ |
hist.h | 26 typedef struct histogram 31 int *sample; /* Histogram samples (shorts in the file!). */ typedef in typeref:struct:histogram 32 } histogram; 34 extern histogram * histograms; 47 we have histogram data. Returns 1 if so and 0 otherwise. */ 50 /* Given a range of addresses for a symbol, find a histogram record 52 histogram record, modifying *P_LOWPC and *P_HIGHPC. 25 typedef struct histogram struct
|
/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...] |
/external/libmojo/base/android/javatests/src/org/chromium/base/metrics/ |
RecordHistogramTest.java | 33 String histogram = "HelloWorld.BooleanMetric"; local 34 HistogramDelta falseCount = new HistogramDelta(histogram, 0); 35 HistogramDelta trueCount = new HistogramDelta(histogram, 1); 39 RecordHistogram.recordBooleanHistogram(histogram, true); 43 RecordHistogram.recordBooleanHistogram(histogram, true); 47 RecordHistogram.recordBooleanHistogram(histogram, false); 57 String histogram = "HelloWorld.EnumeratedMetric"; local 58 HistogramDelta zeroCount = new HistogramDelta(histogram, 0); 59 HistogramDelta oneCount = new HistogramDelta(histogram, 1); 60 HistogramDelta twoCount = new HistogramDelta(histogram, 2) 88 String histogram = "HelloWorld.CountMetric"; local 129 String histogram = "HelloWorld.CustomTimesMetric"; local 166 String histogram = "HelloWorld.LinearCountMetric"; local [all...] |
/external/libchrome/base/metrics/ |
histogram_delta_serialization_unittest.cc | 9 #include "base/metrics/histogram.h" 25 HistogramBase* histogram = Histogram::FactoryGet( local 27 histogram->Add(1); 28 histogram->Add(10); 29 histogram->Add(100); 30 histogram->Add(1000); 37 // The histogram has kIPCSerializationSourceFlag. So samples will be ignored. 38 std::unique_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); 45 histogram->ClearFlags(HistogramBase::kIPCSerializationSourceFlag) [all...] |
histogram_snapshot_manager.cc | 26 void HistogramSnapshotManager::PrepareDelta(HistogramBase* histogram) { 27 PrepareSamples(histogram, histogram->SnapshotDelta()); 31 const HistogramBase* histogram) { 32 PrepareSamples(histogram, histogram->SnapshotFinalDelta()); 36 const HistogramBase* histogram, 40 // Get information known about this histogram. If it did not previously 42 SampleInfo* sample_info = &known_histograms_[histogram->name_hash()]; 47 uint32_t corruption = histogram->FindCorruption(*samples) [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...] |
sparse_histogram_unittest.cc | 23 // for histogram allocation. False will allocate histograms from the process 35 // Each test will have a clean state (no Histogram / BucketRanges 59 // By getting the results-histogram before any persistent allocator 60 // is attached, that histogram is guaranteed not to be stored in 94 std::unique_ptr<SparseHistogram> histogram(NewSparseHistogram("Sparse")); 95 std::unique_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); 99 histogram->Add(100); 100 std::unique_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples()); 104 histogram->Add(100); 105 histogram->Add(101) [all...] |
histogram_base_unittest.cc | 7 #include "base/metrics/histogram.h" 19 // Each test will have a clean state (no Histogram / BucketRanges 47 HistogramBase* histogram = Histogram::FactoryGet( local 53 ASSERT_TRUE(histogram->SerializeInfo(&pickle)); 57 EXPECT_EQ(histogram, deserialized); 64 EXPECT_NE(histogram, deserialized); 73 HistogramBase* histogram = LinearHistogram::FactoryGet( local 78 ASSERT_TRUE(histogram->SerializeInfo(&pickle)); 82 EXPECT_EQ(histogram, deserialized) 96 HistogramBase* histogram = BooleanHistogram::FactoryGet( local 123 HistogramBase* histogram = CustomHistogram::FactoryGet( local 145 HistogramBase* histogram = SparseHistogram::FactoryGet( local [all...] |
histogram_snapshot_manager.h | 28 // calling for the marginal change (a.k.a., delta) in a histogram to be 36 // delta. |flags_to_set| is used to set flags for each histogram. 40 // |Histogram::kNoFlags|. 58 void PrepareDelta(HistogramBase* histogram); 59 void PrepareFinalDelta(const HistogramBase* histogram); 65 // contains all the information for a given histogram that persists between 68 // The set of inconsistencies (flags) already seen for the histogram. 73 // Capture and hold samples from a histogram. This does all the heavy 75 void PrepareSamples(const HistogramBase* histogram, 84 // by the hash of the histogram name [all...] |
histogram_flattener.h | 12 #include "base/metrics/histogram.h" 24 virtual void RecordDelta(const HistogramBase& histogram, 27 // Will be called each time a type of Inconsistency is seen on a histogram, 32 // a histogram. 36 // Will be called when the total logged sample count of a histogram
|
histogram_delta_serialization.cc | 19 // Create or find existing histogram and add the samples from pickle. 22 HistogramBase* histogram = DeserializeHistogramInfo(iter); local 23 if (!histogram) 26 if (histogram->flags() & HistogramBase::kIPCSerializationSourceFlag) { 27 DVLOG(1) << "Single process mode, histogram observed and not copied: " 28 << histogram->histogram_name(); 31 histogram->AddSamplesFromPickle(iter); 42 "Histogram.Inconsistencies" + caller_name, 1, 49 "Histogram.Inconsistencies" + caller_name + "Unique", 1, 55 Histogram::FactoryGet [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...] |
statistics_recorder_unittest.cc | 53 // Each test will have a clean state (no Histogram / BucketRanges 80 Histogram* CreateHistogram(const std::string& name, 85 Histogram::InitializeBucketRanges(min, max, ranges); 88 return new Histogram(name, min, max, registered_ranges); 91 void DeleteHistogram(HistogramBase* histogram) { 92 delete histogram; 138 Histogram* histogram = CreateHistogram("TestHistogram", 1, 1000, 10); local 141 EXPECT_EQ(histogram, 142 StatisticsRecorder::RegisterOrDeleteDuplicate(histogram)); 195 Histogram* histogram = CreateHistogram("TestHistogram", 1, 1000, 10); local 274 HistogramBase* histogram = Histogram::FactoryGet( local 323 HistogramBase* histogram = Histogram::FactoryGet( local 490 HistogramBase* histogram = Histogram::FactoryGet("TestHistogram", 1, 1000, 10, local 517 HistogramBase* histogram = Histogram::FactoryGet("TestHistogram", 1, 1000, 10, local 541 HistogramBase* histogram = Histogram::FactoryGet( local 620 HistogramBase* histogram = Histogram::FactoryGet("TestHistogram", 1, 1000, 10, local [all...] |
statistics_recorder.cc | 14 #include "base/metrics/histogram.h" 24 // Initialize histogram statistics gathering system. 41 // The starting location could point to a persistent histogram when such 45 // This operator will continue to skip until a non-persistent histogram 110 HistogramBase* histogram) { 117 ANNOTATE_LEAKING_OBJECT_PTR(histogram); // see crbug.com/79322 118 return histogram; 126 histogram_to_return = histogram; 128 const std::string& name = histogram->histogram_name(); 131 // The StringKey references the name within |histogram| rather tha [all...] |
/external/brotli/enc/ |
bit_cost_inc.h | 10 #define HistogramType FN(Histogram) 12 double FN(BrotliPopulationCost)(const HistogramType* histogram) { 22 if (histogram->total_count_ == 0) { 26 if (histogram->data_[i] > 0) { 36 return (kTwoSymbolHistogramCost + (double)histogram->total_count_); 39 const uint32_t histo0 = histogram->data_[s[0]]; 40 const uint32_t histo1 = histogram->data_[s[1]]; 41 const uint32_t histo2 = histogram->data_[s[2]]; 52 histo[i] = histogram->data_[s[i]]; 70 /* In this loop we compute the entropy of the histogram and simultaneousl [all...] |
/external/ImageMagick/Magick++/tests/ |
colorHistogram.cpp | 45 // Create histogram vector 47 std::map<Color,size_t> histogram; local 49 std::vector<std::pair<Color,size_t> > histogram; local 52 colorHistogram( &histogram, image ); 54 // Print out histogram 63 cout << "Histogram for file \"" << image.fileName() << "\"" << endl 64 << histogram.size() << " entries:" << endl; 67 std::map<Color,size_t>::const_iterator p=histogram.begin(); 69 std::vector<std::pair<Color,size_t> >::const_iterator p=histogram.begin(); 71 while (p != histogram.end() [all...] |
/system/update_engine/scripts/update_payload/ |
histogram_unittest.py | 7 """Unit tests for histogram.py.""" 12 import histogram 30 self.CompareToExpectedDefault(str(histogram.Histogram( 34 self.CompareToExpectedDefault(str(histogram.Histogram.FromCountDict( 38 self.CompareToExpectedDefault(str(histogram.Histogram.FromKeyList( 46 actual_str = str(histogram.Histogram([('Yes', 5), ('No', 1)], scale=5) [all...] |
/external/ImageMagick/coders/ |
histogram.c | 13 % Write A Histogram Image. % 54 #include "MagickCore/histogram.h" 91 % RegisterHISTOGRAMImage() adds attributes for the Histogram image format 108 entry=AcquireMagickInfo("HISTOGRAM","HISTOGRAM","Histogram of the image"); 129 % HISTOGRAM module from the list of supported formats. 138 (void) UnregisterMagickInfo("HISTOGRAM"); 153 % WriteHISTOGRAMImage() writes an image to a file in Histogram format. 154 % The image shows a histogram of the color (or gray) values in the image. Th 193 *histogram; local [all...] |
/external/autotest/client/site_tests/video_ChromeRTCHWEncodeUsed/ |
video_ChromeRTCHWEncodeUsed.py | 55 def _histograms_loaded(histogram): 56 """Returns true if histogram is loaded.""" 57 tab.Navigate(HISTOGRAMS_URL + histogram) 61 % histogram) 63 def _histogram_success(histogram, bucket): 67 logging.info('Histograms for %s:', histogram ) 78 ' successful.'.format(histogram)) 80 for histogram, bucket in [(RTC_VIDEO_ENCODE, RTC_VIDEO_ENCODE_BUCKET), 83 lambda: _histograms_loaded(histogram), 86 'Cannot find %s histogram.' % histogram) [all...] |
/external/e2fsprogs/misc/ |
e2freefrag.h | 19 struct free_chunk_histogram histogram; /* histogram of all chunk sizes*/ member in struct:chunk_info
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
TronUtils.java | 31 MetricsLogger.histogram(context, "settings_wifi_speed_labels", speedEnum);
|
/external/v8/tools/ |
eval_gc_nvp.py | 46 class Histogram: 48 self.histogram = {} 54 if index not in self.histogram: 55 self.histogram[index] = 0 56 self.histogram[index] += 1 60 keys = self.histogram.keys() 68 str(min_value), str(max_value), self.histogram[i])) 77 def __init__(self, key, histogram, csv, percentiles): 80 self.histogram = histogram [all...] |
/external/webp/src/utils/ |
huffman_encode_utils.h | 52 void VP8LCreateHuffmanTree(uint32_t* const histogram, int tree_depth_limit,
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/ |
Checker.java | 28 private int[] histogram; field in class:Checker 53 histogram = new int[100]; 78 histogram[i] = 0; 173 histogram[ph] += 1; 177 System.out.println(ph + "\t" + histogram[ph]);
|
/external/ImageMagick/MagickCore/ |
segment.c | 48 % o Build a histogram, one for each color component of the image. 50 % o For each histogram, successively apply the scale-space filter and 53 % determine which peaks and valleys in the histogram are most 56 % o The fingerprint defines intervals on the axis of the histogram. 64 % assigned to one of the classes discovered in the histogram analysis 176 histogram[256]; 237 % represent the peaks and valleys of the histogram for each color 817 % represent the peaks and valleys of the histogram for each color 863 % DerivativeHistogram() determines the derivative of the histogram using 868 % DerivativeHistogram(const double *histogram, 173 histogram[256]; member in struct:_ZeroCrossing 964 *histogram[MaxDimension], local 1795 *histogram[MaxDimension]; local [all...] |