HomeSort by relevance Sort by last modified time
    Searched refs:Histogram (Results 1 - 25 of 127) sorted by null

1 2 3 4 5 6

  /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/base/metrics/
histogram_unittest.cc 5 // Test of Histogram class
7 #include "base/metrics/histogram.h"
21 Histogram* histogram(Histogram::FactoryGet(
22 "TestHistogram", 1, 1000, 10, Histogram::kNoFlags));
23 EXPECT_NE(reinterpret_cast<Histogram*>(NULL), histogram); local
24 Histogram* histogram1(Histogram::FactoryGet
85 EXPECT_NE(reinterpret_cast<Histogram*>(NULL), histogram); local
    [all...]
histogram.h 5 // Histogram is an object that aggregates statistics, and can summarize them in
15 // That bucket allocation would actually result from construction of a histogram
17 // Histogram count(L"some name", 1, 64, 8);
22 // in each consecutive bucket. The Histogram class automatically calculates
28 // at the low end of the histogram scale, but allows the histogram to cover a
32 // pointer to a histogram. This static is explicitly initialized on any thread
60 // Provide easy general purpose histogram in a macro, just like stats counters.
77 static base::Histogram* counter(NULL); \
79 counter = base::Histogram::FactoryGet(name, min, max, bucket_count,
    [all...]
histogram.cc 5 // Histogram is an object that aggregates statistics, and can summarize them in
10 #include "base/metrics/histogram.h"
25 const uint32 Histogram::kCrcTable[256] = {0x0, 0x77073096L, 0xee0e612cL,
71 typedef Histogram::Count Count;
74 const size_t Histogram::kBucketCount_MAX = 16384u;
76 Histogram* Histogram::FactoryGet(const std::string& name,
81 Histogram* histogram(NULL);
89 if (!StatisticsRecorder::FindHistogram(name, &histogram)) {
    [all...]
  /external/chromium/net/socket/
client_socket_pool_histograms.h 15 class Histogram;
31 base::Histogram* socket_type_;
32 base::Histogram* request_time_;
33 base::Histogram* unused_idle_time_;
34 base::Histogram* reused_idle_time_;
client_socket_pool_histograms.cc 10 #include "base/metrics/histogram.h"
15 using base::Histogram;
25 Histogram::kUmaTargetedHistogramFlag);
27 request_time_ = Histogram::FactoryTimeGet(
31 100, Histogram::kUmaTargetedHistogramFlag);
33 unused_idle_time_ = Histogram::FactoryTimeGet(
37 100, Histogram::kUmaTargetedHistogramFlag);
39 reused_idle_time_ = Histogram::FactoryTimeGet(
43 100, Histogram::kUmaTargetedHistogramFlag);
  /external/chromium/chrome/browser/extensions/
extension_metrics_module.cc 7 #include "base/metrics/histogram.h"
14 using base::Histogram;
72 Histogram::ClassType type,
78 Histogram* counter;
79 if (type == Histogram::LINEAR_HISTOGRAM) {
84 Histogram::kUmaTargetedHistogramFlag);
86 counter = Histogram::FactoryGet(full_name,
90 Histogram::kUmaTargetedHistogramFlag);
101 // Get the histogram parameters from the metric type object.
116 Histogram::ClassType histogram_type(type == "histogram-linear"
    [all...]
extension_metrics_apitest.cc 7 #include "base/metrics/histogram.h"
32 base::Histogram::ClassType type;
37 {"test.h.1", base::Histogram::HISTOGRAM, 1, 100, 50}, // custom
38 {"test.h.2", base::Histogram::LINEAR_HISTOGRAM, 1, 200, 50}, // custom
39 {"test.h.3", base::Histogram::LINEAR_HISTOGRAM, 1, 101, 102}, // percentage
40 {"test.time", base::Histogram::HISTOGRAM, 1, 10000, 50},
41 {"test.medium.time", base::Histogram::HISTOGRAM, 1, 180000, 50}
    [all...]
  /art/runtime/base/
histogram_test.cc 18 #include "histogram-inl.h"
26 // Histogram *hist(new Histogram("SimplePercentiles"));
37 UniquePtr<Histogram<uint64_t> > hist(new Histogram<uint64_t>("MeanTest", 5));
55 UniquePtr<Histogram<uint64_t> > hist(new Histogram<uint64_t>("VarianceTest", 5));
67 UniquePtr<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) {
43 inline Histogram<Value>::Histogram(const char* name, Value initial_bucket_width,
54 inline void Histogram<Value>::GrowBuckets(Value new_max) {
76 template <class Value> inline size_t Histogram<Value>::FindBucket(Value val) const {
77 // Since this is only a linear histogram, bucket index can be found simply with
88 inline void Histogram<Value>::BucketiseValue(Value val) {
98 template <class Value> inline void Histogram<Value>::Initialize() {
106 template <class Value> inline size_t Histogram<Value>::GetBucketCount() const
    [all...]
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 Histogram(const char* name, Value initial_bucket_width, size_t max_buckets = 100);
86 // Add more buckets to the histogram to fill in a new value that exceeded
92 // Number of samples placed in histogram.
95 // histogram percentiles are. Grows adaptively when we hit max buckets.
102 // Minimum value that can fit in the histogram. Fixed to zero for now.
104 // Maximum value that can fit in the histogram, grows adaptively
    [all...]
  /external/chromium/net/socket_stream/
socket_stream_metrics_unittest.cc 6 #include "base/metrics/histogram.h"
12 using base::Histogram;
28 Histogram* histogram; local
33 Histogram::SampleSet original;
35 "Net.SocketStream.ProtocolType", &histogram)) {
36 histogram->SnapshotSample(&original);
47 "Net.SocketStream.ProtocolType", &histogram));
48 EXPECT_EQ(Histogram::kUmaTargetedHistogramFlag, histogram->flags())
60 Histogram* histogram; local
94 Histogram* histogram; local
    [all...]
  /external/chromium_org/base/metrics/
statistics_recorder_unittest.cc 8 #include "base/metrics/histogram.h"
17 // Each test will have a clean state (no Histogram / BucketRanges
35 Histogram* CreateHistogram(const std::string& name,
40 Histogram::InitializeBucketRanges(min, max, ranges);
43 return new Histogram(name, min, max, registered_ranges);
46 void DeleteHistogram(HistogramBase* histogram) {
47 delete histogram;
64 Histogram* histogram = CreateHistogram("TestHistogram", 1, 1000, 10); local
67 EXPECT_EQ(histogram,
121 Histogram* histogram = CreateHistogram("TestHistogram", 1, 1000, 10); local
177 HistogramBase* histogram = Histogram::FactoryGet( local
219 HistogramBase* histogram = Histogram::FactoryGet( local
    [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
452 HistogramBase* histogram = Histogram::FactoryGet( local
    [all...]
  /external/chromium/chrome/browser/chromeos/cros/
cros_library_loader.cc 10 #include "base/metrics/histogram.h"
25 base::Histogram* counter = base::Histogram::FactoryTimeGet(
30 base::Histogram::kNoFlags);
  /external/chromium/net/disk_cache/
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
25 static base::Histogram* counter(NULL); \
27 counter = base::Histogram::FactoryGet( \
29 base::Histogram::kUmaTargetedHistogramFlag); \
44 static base::Histogram* counter(NULL); \
46 counter = base::Histogram::FactoryTimeGet( \
48 base::Histogram::kUmaTargetedHistogramFlag); \
57 static base::Histogram* counter(NULL); \
61 base::Histogram::kUmaTargetedHistogramFlag);
    [all...]
stats_histogram.h 11 #include "base/metrics/histogram.h"
18 // histogram. We'll provide our own storage and management for the data, and a
21 // Class derivation of Histogram "deprecated," and should not be copied, and
24 class StatsHistogram : public base::Histogram {
35 : Histogram(name, minimum, maximum, bucket_count), init_(false) {}
stats_histogram.cc 12 using base::Histogram;
26 Histogram* histogram(NULL);
32 if (StatisticsRecorder::FindHistogram(name, &histogram)) {
33 DCHECK(histogram != NULL);
40 histogram = StatisticsRecorder::RegisterOrDeleteDuplicate(stats_histogram);
43 DCHECK(HISTOGRAM == histogram->histogram_type());
44 DCHECK(histogram->HasConstructorArguments(minimum, maximum, bucket_count));
48 StatsHistogram* return_histogram = static_cast<StatsHistogram*>(histogram);
    [all...]
  /external/chromium_org/chrome/test/base/
uma_histogram_helper.h 8 #include "base/metrics/histogram.h"
19 // Each child process may have its own histogram data, make sure this data
38 base::Histogram::Count expected_count,
42 base::Histogram::Count expected_count,
  /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/chrome/common/
metrics_helpers.h 17 #include "base/metrics/histogram.h"
57 // Record any changes in a given histogram for transmission.
58 void RecordHistogramDelta(const base::Histogram& histogram,
59 const base::Histogram::SampleSet& snapshot);
182 // calling for the marginal change (a.k.a., delta) in a histogram to be sent
191 // transmission, or to set a flag in each transmitted histogram.
192 void TransmitAllHistograms(base::Histogram::Flags flags_to_set,
199 const base::Histogram& histogram,
    [all...]
  /external/chromium_org/chrome/common/metrics/
metrics_service_base.cc 11 using base::Histogram;
29 histogram_snapshot_manager_.PrepareDeltas(base::Histogram::kNoFlags, true);
33 const base::HistogramBase& histogram,
35 log_manager_.current_log()->RecordHistogramDelta(histogram.histogram_name(),
41 UMA_HISTOGRAM_ENUMERATION("Histogram.InconsistenciesBrowser",
47 UMA_HISTOGRAM_ENUMERATION("Histogram.InconsistenciesBrowserUnique",
52 UMA_HISTOGRAM_COUNTS("Histogram.InconsistentSnapshotBrowser",
  /external/chromium_org/v8/src/
counters.cc 48 void Histogram::AddSample(int sample) {
54 void* Histogram::CreateHistogram() const {
  /external/chromium_org/chrome/browser/policy/
policy_load_status.cc 7 #include "base/metrics/histogram.h"
23 base::Histogram::kUmaTargetedHistogramFlag)) {

Completed in 2518 milliseconds

1 2 3 4 5 6