/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/chromium-trace/catapult/telemetry/telemetry/value/ |
histogram_util.py | 5 """This is a helper module to get and manipulate histogram data. 7 The histogram data is the same data as is visible from "chrome://histograms". 8 More information can be found at: chromium/src/base/metrics/histogram.h 28 # If there are values greater than the maximum allowable for the histogram, 37 """Allows histogram collection.""" 42 """Subtracts a previous histogram from a histogram. 48 # It's ok if the start histogram is empty (we had no data, maybe even no 49 # histogram at all, at the start of the test). 53 histogram = json.loads(histogram_json [all...] |
histogram_unittest.py | 10 from telemetry.value import histogram as histogram_module 46 histogram = histogram_module.HistogramValue( 52 histogram.GetBuildbotValue()) 54 histogram.GetRepresentativeNumber()) 57 histogram.GetBuildbotValue()) 60 'unimportant-histogram', 61 histogram.GetBuildbotDataType(value.SUMMARY_RESULT_OUTPUT_CONTEXT)) 62 histogram.important = True 64 'histogram', 65 histogram.GetBuildbotDataType(value.SUMMARY_RESULT_OUTPUT_CONTEXT) [all...] |
histogram.py | 72 return 'histogram' 73 return 'unimportant-histogram' 76 # More buildbot insanity: perf_tests_results_helper requires the histogram 81 # This has to hand-JSONify the histogram to ensure the order of keys 86 # stringification of the histogram. 102 return 'histogram'
|
/external/libchrome/base/metrics/ |
histogram_base_unittest.cc | 7 #include "base/metrics/histogram.h" 19 // Each test will have a clean state (no Histogram / BucketRanges 37 HistogramBase* histogram = Histogram::FactoryGet( local 43 ASSERT_TRUE(histogram->SerializeInfo(&pickle)); 47 EXPECT_EQ(histogram, deserialized); 54 EXPECT_NE(histogram, deserialized); 63 HistogramBase* histogram = LinearHistogram::FactoryGet( local 68 ASSERT_TRUE(histogram->SerializeInfo(&pickle)); 72 EXPECT_EQ(histogram, deserialized) 86 HistogramBase* histogram = BooleanHistogram::FactoryGet( local 113 HistogramBase* histogram = CustomHistogram::FactoryGet( local 135 HistogramBase* histogram = SparseHistogram::FactoryGet( local [all...] |
sparse_histogram_unittest.cc | 23 // Each test will have a clean state (no Histogram / BucketRanges 47 scoped_ptr<SparseHistogram> histogram(NewSparseHistogram("Sparse")); 48 scoped_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); 52 histogram->Add(100); 53 scoped_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples()); 57 histogram->Add(100); 58 histogram->Add(101); 59 scoped_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); 66 scoped_ptr<SparseHistogram> histogram(NewSparseHistogram("Sparse")); 67 scoped_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()) [all...] |
histogram_unittest.cc | 5 #include "base/metrics/histogram.h" 30 // 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 265 Histogram* histogram = static_cast<Histogram*>( local 312 Histogram* histogram = static_cast<Histogram*>( local 331 Histogram* histogram = static_cast<Histogram*>( local 358 Histogram* histogram = static_cast<Histogram*>( local 393 Histogram* histogram = static_cast<Histogram*>( local 468 HistogramBase* histogram = Histogram::FactoryGet( local 499 HistogramBase* histogram = Histogram::FactoryGet( local [all...] |
statistics_recorder_unittest.cc | 23 // Each test will have a clean state (no Histogram / BucketRanges 39 Histogram* CreateHistogram(const std::string& name, 44 Histogram::InitializeBucketRanges(min, max, ranges); 47 return new Histogram(name, min, max, registered_ranges); 50 void DeleteHistogram(HistogramBase* histogram) { 51 delete histogram; 68 Histogram* histogram = CreateHistogram("TestHistogram", 1, 1000, 10); local 71 EXPECT_EQ(histogram, 72 StatisticsRecorder::RegisterOrDeleteDuplicate(histogram)); 125 Histogram* histogram = CreateHistogram("TestHistogram", 1, 1000, 10); local 181 HistogramBase* histogram = Histogram::FactoryGet( local 223 HistogramBase* histogram = Histogram::FactoryGet( local 353 HistogramBase* histogram = Histogram::FactoryGet("TestHistogram", 1, 1000, 10, local 380 HistogramBase* histogram = Histogram::FactoryGet("TestHistogram", 1, 1000, 10, local 404 HistogramBase* histogram = Histogram::FactoryGet( local 483 HistogramBase* histogram = Histogram::FactoryGet("TestHistogram", 1, 1000, 10, local [all...] |
histogram_snapshot_manager.cc | 39 void HistogramSnapshotManager::PrepareDelta(const HistogramBase& histogram) { 43 scoped_ptr<HistogramSamples> snapshot(histogram.SnapshotSamples()); 48 int corruption = histogram.FindCorruption(*snapshot); 60 const uint64_t histogram_hash = histogram.name_hash(); 62 DLOG(ERROR) << "Histogram: " << histogram.histogram_name() 69 return; // We've already seen this corruption for this histogram. 81 // This histogram has not been logged before, add a new entry. 92 histogram_flattener_->RecordDelta(histogram, *to_log); 104 if (discrepancy > Histogram::kCommonRaceBasedCountMismatch) [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
|
statistics_recorder.cc | 11 #include "base/metrics/histogram.h" 19 // Initialize histogram statistics gathering system. 42 HistogramBase* histogram) { 45 return histogram; 53 histogram_to_return = histogram; 55 const std::string& name = histogram->histogram_name(); 56 uint64_t name_hash = histogram->name_hash(); 59 (*histograms_)[name_hash] = histogram; 60 // If there are callbacks for this histogram, we set the kCallbackExists 65 histogram->SetFlags(HistogramBase::kCallbackExists) [all...] |
histogram_snapshot_manager.h | 26 // calling for the marginal change (a.k.a., delta) in a histogram to be 34 // delta. |flags_to_set| is used to set flags for each histogram. 38 // |Histogram::kNoFlags|. 43 // Snapshot this histogram, and record the delta. 44 void PrepareDelta(const HistogramBase& histogram); 52 // each histogram) so that we can record only the delta with the next log. 53 // The information is indexed by the hash of the histogram name. 57 // by the hash of the histogram name. 60 // |histogram_flattener_| handles the logistics of recording the histogram
|
/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/core/metricsd/uploader/ |
bn_metricsd_impl.cc | 19 #include <base/metrics/histogram.h> 40 base::HistogramBase* histogram = base::Histogram::FactoryGet( local 42 base::Histogram::kUmaTargetedHistogramFlag); 43 // |histogram| may be null if a client reports two contradicting histograms 46 if (histogram) { 47 histogram->Add(sample); 55 base::HistogramBase* histogram = base::LinearHistogram::FactoryGet( local 57 base::Histogram::kUmaTargetedHistogramFlag); 58 // |histogram| may be null if a client reports two contradicting histogram 68 base::HistogramBase* histogram = base::SparseHistogram::FactoryGet( local [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 | 56 def histograms_loaded(histogram): 57 """Returns true if histogram is loaded.""" 58 tab.Navigate(HISTOGRAMS_URL + histogram) 62 % histogram) 64 def histogram_sucess(histogram, bucket): 68 logging.info('Histograms for %s:', histogram ) 79 ' successful.'.format(histogram)) 81 for histogram, bucket in [(RTC_VIDEO_ENCODE, RTC_VIDEO_ENCODE_BUCKET), 84 lambda: histograms_loaded(histogram), 87 '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
|
/external/opencv3/3rdparty/libwebp/utils/ |
huffman_encode.h | 42 int VP8LCreateHuffmanTree(int* const histogram, int tree_depth_limit,
|
/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/autotest/client/cros/chameleon/ |
screen_comparison.py | 82 histogram = diff_image.convert('L').histogram() 84 num_wrong_pixels = sum(histogram[self._pixel_diff_margin + 1:]) 86 lambda x: histogram[x], xrange(len(histogram)))) 88 logging.debug('Histogram of difference: %r', histogram)
|
/external/webp/src/utils/ |
huffman_encode.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 | 26 private int[] histogram; field in class:Checker 51 histogram = new int[100]; 76 histogram[i] = 0; 171 histogram[ph] += 1; 175 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...] |
/external/webrtc/webrtc/modules/audio_processing/utility/ |
delay_estimator.c | 79 // 2. the |histogram| of candidate delays over time. This histogram is 109 // The |histogram| is updated differently across the bins. 110 // 1. The |candidate_delay| histogram bin is increased with the 112 // |candidate_delay| is. The histogram is not increased above 114 self->histogram[candidate_delay] += valley_depth; 115 if (self->histogram[candidate_delay] > kHistogramMax) { 116 self->histogram[candidate_delay] = kHistogramMax; 118 // 2. The histogram bins in the neighborhood of |candidate_delay| are 120 // 3. The histogram bins in the neighborhood of |last_delay| are decrease [all...] |
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/ |
histogram.hpp | 57 __global__ void histogram(const SrcPtr src, ResType* hist, const MaskPtr mask, const int rows, const int cols) function in namespace:cv::cudev::grid_histogram_detail 94 __host__ void histogram(const SrcPtr& src, ResType* hist, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) function in namespace:cv::cudev::grid_histogram_detail 101 histogram<BIN_COUNT, BLOCK_SIZE><<<grid, block, 0, stream>>>(src, hist, mask, rows, cols);
|