/external/chromium_org/third_party/leveldatabase/src/util/ |
histogram.h | 12 class Histogram { 14 Histogram() { } 15 ~Histogram() { } 19 void Merge(const Histogram& other);
|
histogram.cc | 8 #include "util/histogram.h" 12 const double Histogram::kBucketLimit[kNumBuckets] = { 33 void Histogram::Clear() { 44 void Histogram::Add(double value) { 58 void Histogram::Merge(const Histogram& other) { 69 double Histogram::Median() const { 73 double Histogram::Percentile(double p) const { 94 double Histogram::Average() const { 99 double Histogram::StandardDeviation() const [all...] |
/external/chromium_org/third_party/brotli/src/brotli/enc/ |
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...] |
cluster.h | 32 #include "./histogram.h" 63 void CompareAndPushToHeap(const Histogram<kSize>* out, 93 Histogram<kSize> combo = out[idx1]; 109 void HistogramCombine(Histogram<kSize>* out, 125 // We maintain a heap of histogram pairs, ordered by the bit cost reduction. 170 // Push new pairs formed with the combined histogram to the heap. 178 // Histogram refinement 180 // What is the bit cost of moving histogram from cur_symbol to candidate. 182 double HistogramBitCostDistance(const Histogram<kSize>& histogram, [all...] |
/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...] |
histogram-inl.h | 20 #include "histogram.h" 31 template <class Value> inline void Histogram<Value>::AddValue(Value value) { 42 template <class Value> inline Histogram<Value>::Histogram(const char* name) 50 inline Histogram<Value>::Histogram(const char* name, Value initial_bucket_width, 61 inline void Histogram<Value>::GrowBuckets(Value new_max) { 83 template <class Value> inline size_t Histogram<Value>::FindBucket(Value val) const { 84 // Since this is only a linear histogram, bucket index can be found simply with 95 inline void Histogram<Value>::BucketiseValue(Value val) [all...] |
timing_logger.cc | 27 #include "base/histogram-inl.h" 95 Histogram<uint64_t>* histogram; local 96 Histogram<uint64_t> dummy(label.c_str()); 101 histogram = new Histogram<uint64_t>(label.c_str(), kInitialBucketSize, max_buckets); 102 histograms_.insert(histogram); 104 histogram = *it; 106 histogram->AddValue(delta_time); 111 bool operator()(const Histogram<uint64_t>* a, const Histogram<uint64_t>* b) const [all...] |
timing_logger.h | 20 #include "base/histogram.h" 51 bool operator()(const Histogram<uint64_t>* a, const Histogram<uint64_t>* b) const { 67 std::set<Histogram<uint64_t>*, HistogramComparator> histograms_ GUARDED_BY(lock_);
|
/external/chromium_org/base/metrics/ |
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...] |
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.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_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.h | 5 // Histogram is an object that aggregates statistics, and can summarize them in 12 // For Histogram(exponential histogram), LinearHistogram and CustomHistogram, 20 // Each use of a histogram with the same name will reference the same underlying 21 // data, so it is safe to record to the same histogram from multiple locations 22 // in the code. It is a runtime error if all uses of the same histogram do not 25 // For Histogram and LinearHistogram, the maximum for a declared range should 32 // (Histogram::kBucketCount_MAX - 1). 34 // The buckets layout of class Histogram is exponential. For example, buckets 37 // That bucket allocation would actually result from construction of a histogram [all...] |
/external/chromium_org/net/socket/ |
client_socket_pool_histograms.cc | 10 #include "base/metrics/histogram.h" 16 using base::Histogram; 30 request_time_ = Histogram::FactoryTimeGet( 36 unused_idle_time_ = Histogram::FactoryTimeGet( 42 reused_idle_time_ = Histogram::FactoryTimeGet(
|
/external/chromium_org/net/disk_cache/blockfile/ |
histogram_macros.h | 5 // This file contains macros to simplify histogram reporting from the disk 8 // keeping track of a potentially large number of histogram objects that have to 14 #include "base/metrics/histogram.h" 23 base::HistogramBase* counter = base::Histogram::FactoryGet( \ 25 base::Histogram::kUmaTargetedHistogramFlag); \ 40 base::HistogramBase* counter = base::Histogram::FactoryTimeGet( \ 42 base::Histogram::kUmaTargetedHistogramFlag); \ 53 base::Histogram::kUmaTargetedHistogramFlag); \ 80 // Generates a UMA histogram of the given type, generating the proper name for
|
histogram_macros_v3.h | 5 // This file contains macros to simplify histogram reporting from the disk 8 // keeping track of a potentially large number of histogram objects that have to 24 counter = base::Histogram::FactoryGet( \ 26 base::Histogram::kUmaTargetedHistogramFlag); \ 43 counter = base::Histogram::FactoryTimeGet( \ 45 base::Histogram::kUmaTargetedHistogramFlag); \ 58 base::Histogram::kUmaTargetedHistogramFlag); \ 85 // Generates a UMA histogram of the given type, generating the proper name for
|
/external/chromium_org/base/test/ |
histogram_tester.h | 13 #include "base/metrics/histogram.h" 21 // or otherwise. Tests can use this interface to verify that histogram data is 51 // to the histogram since the creation of this object. 58 // and is modified based on the snapshot stored for histogram |name|. 61 base::Histogram::Count expected_count, 64 // Verifies that the total number of values recorded for the histogram |name| 68 base::Histogram::Count expected_count, 71 // Used to determine the histogram changes made during this instance's
|
/external/chromium_org/components/policy/core/common/ |
policy_load_status.cc | 7 #include "base/metrics/histogram.h" 23 base::Histogram::kUmaTargetedHistogramFlag)) {
|
/external/chromium_org/chrome/browser/extensions/activity_log/ |
uma_policy_browsertest.cc | 5 #include "base/metrics/histogram.h" 83 base::HistogramBase* google_histogram = base::Histogram::FactoryGet( 91 base::HistogramBase* cnn_histogram = base::Histogram::FactoryGet( 128 base::HistogramBase* google_histogram = base::Histogram::FactoryGet( 157 base::HistogramBase* google_histogram = base::Histogram::FactoryGet( 187 base::HistogramBase* cnn_histogram = base::Histogram::FactoryGet( 269 base::HistogramBase* google_histogram = base::Histogram::FactoryGet( 276 base::HistogramBase* cnn_histogram = base::Histogram::FactoryGet( 286 base::HistogramBase* google_histogram = base::Histogram::FactoryGet( 293 base::HistogramBase* cnn_histogram = base::Histogram::FactoryGet [all...] |
/external/chromium_org/chrome/browser/safe_browsing/incident_reporting/ |
binary_integrity_analyzer.cc | 12 #include "base/metrics/histogram.h" 31 base::Histogram::FactoryTimeGet( 36 base::Histogram::kUmaTargetedHistogramFlag);
|
/external/chromium_org/v8/src/ |
counters.cc | 25 void Histogram::AddSample(int sample) { 31 void* Histogram::CreateHistogram() const { 59 name##_ = Histogram(#caption, min, max, num_buckets, isolate); 69 name##_ = Histogram(#caption, 0, 101, 100, isolate); 74 name##_ = Histogram(#caption, 1000, 500000, 50, isolate);
|
/external/chromium_org/components/nacl/renderer/ |
histogram.cc | 5 #include "components/nacl/renderer/histogram.h" 7 #include "base/metrics/histogram.h" 17 base::Histogram::FactoryGet( 23 // The histogram can be NULL if it is constructed with bad arguments. Ignore 93 base::HistogramBase* counter = base::Histogram::FactoryTimeGet( 109 base::HistogramBase* counter = base::Histogram::FactoryTimeGet( 125 base::HistogramBase* counter = base::Histogram::FactoryTimeGet( 139 base::HistogramBase* counter = base::Histogram::FactoryTimeGet(
|
/art/runtime/gc/collector/ |
garbage_collector.h | 20 #include "base/histogram.h" 156 const Histogram<uint64_t>& GetPauseHistogram() const { 159 // Reset the cumulative timings and pause histogram. 191 Histogram<uint64_t> pause_histogram_;
|
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
ntp_user_data_logger.cc | 7 #include "base/metrics/histogram.h" 35 // Name of the histogram keeping track of Most Visited impressions. 39 // Format string to generate the name for the histogram keeping track of 44 // Name of the histogram keeping track of Most Visited navigations. 48 // Format string to generate the name for the histogram keeping track of 179 // Cannot rely on UMA histograms macro because the name of the histogram is 187 base::Histogram::kUmaTargetedHistogramFlag); 201 // Cannot rely on UMA histograms macro because the name of the histogram is 209 base::Histogram::kUmaTargetedHistogramFlag);
|