/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)
|
/external/chromium_org/tools/perf/metrics/ |
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 19 """Allows histogram collection.""" 24 """Subtracts a previous histogram from a histogram. 29 # It's ok if the start histogram is empty (we had no data, maybe even no 30 # histogram at all, at the start of the test). 34 histogram = json.loads(histogram_json) 35 if ('pid' in start_histogram and 'pid' in histogram [all...] |
/external/chromium_org/net/socket_stream/ |
socket_stream_metrics_unittest.cc | 9 #include "base/metrics/histogram.h" 16 using base::Histogram; 28 HistogramBase* histogram = local 30 if (histogram) { 31 original = histogram->SnapshotSamples(); 41 histogram = 43 ASSERT_TRUE(histogram != NULL); 44 EXPECT_EQ(HistogramBase::kUmaTargetedHistogramFlag, histogram->flags()); 46 scoped_ptr<HistogramSamples> samples(histogram->SnapshotSamples()); 59 HistogramBase* histogram local 94 HistogramBase* histogram = local 129 HistogramBase* histogram = local [all...] |
/external/chromium_org/base/metrics/ |
histogram_delta_serialization_unittest.cc | 9 #include "base/metrics/histogram.h" 24 HistogramBase* histogram = Histogram::FactoryGet( local 26 histogram->Add(1); 27 histogram->Add(10); 28 histogram->Add(100); 29 histogram->Add(1000); 36 // The histogram has kIPCSerializationSourceFlag. So samples will be ignored. 37 scoped_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); 44 histogram->ClearFlags(HistogramBase::kIPCSerializationSourceFlag) [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 447 HistogramBase* histogram = Histogram::FactoryGet( local 478 HistogramBase* histogram = Histogram::FactoryGet( local [all...] |
statistics_recorder_unittest.cc | 9 #include "base/metrics/histogram.h" 19 // Each test will have a clean state (no Histogram / BucketRanges 37 Histogram* CreateHistogram(const std::string& name, 42 Histogram::InitializeBucketRanges(min, max, ranges); 45 return new Histogram(name, min, max, registered_ranges); 48 void DeleteHistogram(HistogramBase* histogram) { 49 delete histogram; 66 Histogram* histogram = CreateHistogram("TestHistogram", 1, 1000, 10); local 69 EXPECT_EQ(histogram, 123 Histogram* histogram = CreateHistogram("TestHistogram", 1, 1000, 10); local 179 HistogramBase* histogram = Histogram::FactoryGet( local 221 HistogramBase* histogram = Histogram::FactoryGet( local [all...] |
histogram_base_unittest.cc | 7 #include "base/metrics/histogram.h" 19 // Each test will have a clean state (no Histogram / BucketRanges 39 HistogramBase* histogram = Histogram::FactoryGet( local 45 ASSERT_TRUE(histogram->SerializeInfo(&pickle)); 49 EXPECT_EQ(histogram, deserialized); 56 EXPECT_NE(histogram, deserialized); 65 HistogramBase* histogram = LinearHistogram::FactoryGet( local 70 ASSERT_TRUE(histogram->SerializeInfo(&pickle)); 74 EXPECT_EQ(histogram, deserialized) 88 HistogramBase* histogram = BooleanHistogram::FactoryGet( local 115 HistogramBase* histogram = CustomHistogram::FactoryGet( local 137 HistogramBase* histogram = SparseHistogram::FactoryGet( local [all...] |
histogram_delta_serialization.cc | 18 // Create or find existing histogram and add the samples from pickle. 21 HistogramBase* histogram = DeserializeHistogramInfo(iter); local 22 if (!histogram) 25 if (histogram->flags() & HistogramBase::kIPCSerializationSourceFlag) { 26 DVLOG(1) << "Single process mode, histogram observed and not copied: " 27 << histogram->histogram_name(); 30 histogram->AddSamplesFromPickle(iter); 41 "Histogram.Inconsistencies" + caller_name, 1, 48 "Histogram.Inconsistencies" + caller_name + "Unique", 1, 54 Histogram::FactoryGet [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 366 HistogramBase* histogram = Histogram::FactoryGet( local 554 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name); local 653 HistogramBase* histogram = LinearHistogram::FactoryGet( local 667 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name); local 708 HistogramBase* histogram = BooleanHistogram::FactoryGet( local 726 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name); local 811 HistogramBase* histogram = CustomHistogram::FactoryGet( local [all...] |
histogram_snapshot_manager.h | 24 // calling for the marginal change (a.k.a., delta) in a histogram to be 32 // delta. |flags_to_set| is used to set flags for each histogram. 36 // |Histogram::kNoFlags|. 41 // Snapshot this histogram, and record the delta. 42 void PrepareDelta(const HistogramBase& histogram); 50 // each histogram) so that we can record only the delta with the next log. 56 // |histogram_flattener_| handles the logistics of recording the histogram
|
sparse_histogram_unittest.cc | 22 // Each test will have a clean state (no Histogram / BucketRanges 48 scoped_ptr<SparseHistogram> histogram(NewSparseHistogram("Sparse")); 49 scoped_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); 53 histogram->Add(100); 54 scoped_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples()); 58 histogram->Add(100); 59 histogram->Add(101); 60 scoped_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); 102 // Unlike the macros in histogram.h, SparseHistogram macros can have a 103 // variable as 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
|
/external/chromium_org/tools/metrics/histograms/ |
histograms.xml | 9 with a detailed description for each histogram. 33 <histogram name="FileLoadLatency"/> 38 <affected-histogram name="FileLoadLatency"/> 49 <histogram name="Prerender.Events"/> 53 <affected-histogram name="Prerender.Events"/> 62 will be inserted after the first dot separator of the affected-histogram name. 63 Therefore, the affected-histogram name has to have at least one dot in it. 66 <histogram-configuration> 68 <!-- Histogram definitions --> 72 <histogram name="Accessibility.CrosAlwaysShowA11yMenu" enum="BooleanEnabled" [all...] |
find_unmapped_histograms.py | 36 UMA_HISTOGRAM # Match the shared prefix for standard UMA histogram macros 95 def logNonLiteralHistogram(filename, histogram): 96 """Logs a statement warning about a non-literal histogram name found in the 102 filename: The filename for the file containing the histogram, e.g. 104 histogram: The expression that evaluates to the name of the histogram, e.g. 110 # Ignore histogram macros, which typically contain backslashes so that they 112 if '\\' in histogram: 116 if histogram.startswith('base::FieldTrial::MakeName'): 119 # Ignore histogram names that have been pulled out into C++ constants [all...] |
/external/chromium_org/tools/telemetry/telemetry/value/ |
histogram_unittest.py | 9 from telemetry.value import histogram as histogram_module 25 histogram = histogram_module.HistogramValue( 31 histogram.GetBuildbotValue()) 33 histogram.GetRepresentativeNumber()) 36 histogram.GetBuildbotValue()) 39 'unimportant-histogram', 40 histogram.GetBuildbotDataType(value.SUMMARY_RESULT_OUTPUT_CONTEXT)) 41 histogram.important = True 43 'histogram', 44 histogram.GetBuildbotDataType(value.SUMMARY_RESULT_OUTPUT_CONTEXT) [all...] |
/external/chromium_org/chrome/test/base/ |
uma_histogram_helper.cc | 25 base::HistogramBase* histogram = local 27 // If there is no histogram present, then don't record a snapshot. The logic 28 // in the Expect* methods will act to treat no histogram equivalent to 30 if (histogram) { 32 make_linked_ptr(histogram->SnapshotSamples().release()); 56 base::HistogramBase* histogram = local 58 EXPECT_NE(static_cast<base::HistogramBase*>(NULL), histogram) 59 << "Histogram \"" << name << "\" does not exist."; 61 if (histogram) { 62 scoped_ptr<base::HistogramSamples> samples(histogram->SnapshotSamples()) 72 base::HistogramBase* histogram = local 86 base::HistogramBase* histogram = local [all...] |
/external/chromium_org/base/test/ |
statistics_delta_reader_unittest.cc | 8 #include "base/metrics/histogram.h" 15 // Record a histogram before the creation of the recorder. 20 // Verify that no histogram is recorded. 25 // Record a histogram after the creation of the recorder. 28 // Verify that one histogram is recorded.
|
statistics_delta_reader.cc | 7 #include "base/metrics/histogram.h" 17 // Record any histogram data that exists when the object is created so it can 34 HistogramBase* histogram = StatisticsRecorder::FindHistogram(histogram_name); local 35 if (!histogram) 37 scoped_ptr<HistogramSamples> named_samples(histogram->SnapshotSamples());
|
/external/chromium_org/third_party/brotli/src/brotli/enc/ |
bit_cost.h | 40 const Histogram<kCodeLengthCodes>& histogram, 42 return HuffmanTreeBitCost(&histogram.data_[0], &entropy.depth_[0]); 47 int histogram[kCodeLengthCodes] = { 0 }; local 50 // compute histogram of compacted huffman tree 65 histogram[0] += reps; 69 ++histogram[17]; 76 ++histogram[value]; 81 histogram[value] += reps; 85 ++histogram[16] [all...] |
histogram.h | 34 struct Histogram { 35 Histogram() { 56 void AddHistogram(const Histogram& v) { 75 // Literal histogram. 76 typedef Histogram<256> HistogramLiteral; 78 typedef Histogram<kNumCommandPrefixes> HistogramCommand; 79 typedef Histogram<kNumDistancePrefixes> HistogramDistance; 80 typedef Histogram<kNumBlockLenPrefixes> HistogramBlockLength; 81 // Context map histogram, 256 Huffman tree indexes + 16 run length codes. 82 typedef Histogram<272> HistogramContextMap [all...] |
/external/chromium_org/chrome/browser/chromeos/net/ |
network_portal_detector_test_utils.h | 19 // Checks enum values in a histogram. 22 EnumHistogramChecker(const std::string& histogram, int count, 30 // Actually accesses histogram and checks values for all keys. 34 // Name of a histogram.
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
histogram.h | 12 class Histogram { 14 Histogram() { } 15 ~Histogram() { } 19 void Merge(const Histogram& other);
|
/art/runtime/base/ |
histogram.h | 27 // Creates a data histogram for a better understanding of statistical data. 28 // Histogram analysis goes beyond simple mean and standard deviation to provide 32 template <class Value> class Histogram { 38 friend class Histogram<Value>; 43 // Used by the cumulative timing logger to search the histogram set using for an existing split 45 explicit Histogram(const char* name); 47 Histogram(const char* name, Value initial_bucket_width, size_t max_buckets = 100); 94 // Add more buckets to the histogram to fill in a new value that exceeded 100 // Number of samples placed in histogram. 103 // histogram percentiles are. Grows adaptively when we hit max buckets [all...] |
histogram_test.cc | 21 #include "histogram-inl.h" 26 // Histogram *hist(new Histogram("SimplePercentiles")); 37 std::unique_ptr<Histogram<uint64_t>> hist(new Histogram<uint64_t>("MeanTest", 5)); 55 std::unique_ptr<Histogram<uint64_t>> hist(new Histogram<uint64_t>("VarianceTest", 5)); 67 std::unique_ptr<Histogram<uint64_t>> hist(new Histogram<uint64_t>("Percentile", 5)); 68 Histogram<uint64_t>::CumulativeData data [all...] |
/external/chromium_org/chrome/browser/chromeos/login/users/avatar/ |
default_user_images.h | 58 /// Histogram values. //////////////////////////////////////////////////////// 60 // Histogram value for user image taken from file. 63 // Histogram value for user image taken from camera. 66 // Histogram value a previously used image from camera/file. 69 // Histogram value for user image from G+ profile. 72 // Histogram value for user video (animated avatar) from camera. 75 // Histogram value for user video from file. 78 // Number of possible histogram values for user images. 81 // Returns the histogram value corresponding to the given default image index.
|