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

1 2

  /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...]
extension_metrics_module.h 11 #include "base/metrics/histogram.h"
35 base::Histogram::ClassType type,
  /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/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/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...]
metrics_helpers.cc 29 using base::Histogram;
193 // The following log is VERY helpful when folks add some named histogram into
195 // that happens, all we get to see (server side) is a hash of the histogram
196 // name. We can then use this logging to find out what histogram name was
386 // TODO(JAR): A The following should really be part of the histogram class.
388 // this code. If we moved this into the Histogram class, then we could use
391 const Histogram& histogram,
392 const Histogram::SampleSet& snapshot) {
395 snapshot.CheckSize(histogram);
    [all...]
  /external/chromium/net/base/
mime_sniffer.cc 101 #include "base/metrics/histogram.h"
212 static base::Histogram* UMASnifferHistogramGet(const char* name,
214 base::Histogram* counter =
216 base::Histogram::kUmaTargetedHistogramFlag);
269 base::Histogram* counter,
311 static base::Histogram* counter(NULL);
330 static base::Histogram* counter(NULL);
372 static base::Histogram* counter(NULL);
457 static base::Histogram* counter(NULL);
500 static base::Histogram* counter(NULL)
    [all...]
cookie_monster.h 28 class Histogram;
275 // histogram buckets consistent. New items (if necessary) should be added
470 // Histogram variables; see CookieMonster::InitializeHistograms() in
472 base::Histogram* histogram_expiration_duration_minutes_;
473 base::Histogram* histogram_between_access_interval_minutes_;
474 base::Histogram* histogram_evicted_last_access_minutes_;
475 base::Histogram* histogram_count_;
476 base::Histogram* histogram_domain_count_;
477 base::Histogram* histogram_etldp1_count_;
478 base::Histogram* histogram_domain_per_etldp1_count_
    [all...]
cookie_monster.cc 54 #include "base/metrics/histogram.h"
    [all...]
  /external/chromium/chrome/browser/net/websocket_experiment/
websocket_experiment_task.cc 8 #include "base/metrics/histogram.h"
17 using base::Histogram;
95 // Holds Histogram objects during experiments run.
96 static base::hash_map<std::string, Histogram*>* g_histogram_table;
137 g_histogram_table = new base::hash_map<std::string, Histogram*>;
162 static Histogram* GetEnumsHistogramForConfig(
165 Histogram::Sample boundary_value) {
168 base::hash_map<std::string, Histogram*>::iterator found =
173 Histogram* counter = LinearHistogram::FactoryGet(
175 Histogram::kUmaTargetedHistogramFlag)
    [all...]
  /external/chromium/chrome/browser/
jankometer.cc 13 #include "base/metrics/histogram.h"
122 base::Histogram* const process_times_; // Time spent proc. task.
123 base::Histogram* const total_times_; // Total queueing plus proc.
138 process_times_(base::Histogram::FactoryGet(
140 1, 3600000, 50, base::Histogram::kUmaTargetedHistogramFlag)),
141 total_times_(base::Histogram::FactoryGet(
143 1, 3600000, 50, base::Histogram::kUmaTargetedHistogramFlag)),
  /external/chromium/chrome/browser/chromeos/
external_metrics.cc 18 #include "base/metrics/histogram.h"
84 LOG(ERROR) << "bad histogram request: " << histogram_data;
87 // Do not use the UMA_HISTOGRAM_... macros here. They cache the Histogram
89 base::Histogram* counter = base::Histogram::FactoryGet(
90 name, min, max, nbuckets, base::Histogram::kUmaTargetedHistogramFlag);
99 LOG(ERROR) << "bad linear histogram request: " << histogram_data;
102 // Do not use the UMA_HISTOGRAM_... macros here. They cache the Histogram
104 base::Histogram* counter = base::LinearHistogram::FactoryGet(
105 name, 1, max, max + 1, base::Histogram::kUmaTargetedHistogramFlag)
    [all...]
boot_times_loader.cc 14 #include "base/metrics/histogram.h"
134 // reported already to avoid sending boot time histogram samples
262 base::Histogram* total_hist = base::Histogram::FactoryTimeGet(
267 base::Histogram::kUmaTargetedHistogramFlag);
280 base::Histogram* prev_hist = base::Histogram::FactoryTimeGet(
285 base::Histogram::kUmaTargetedHistogramFlag);
  /external/chromium/chrome/browser/autofill/
autofill_metrics.cc 8 #include "base/metrics/histogram.h"
129 // We can't use the UMA_HISTOGRAM_ENUMERATION macro here because the histogram
132 base::Histogram* counter =
138 base::Histogram::kUmaTargetedHistogramFlag);
142 // Logs a type quality metric. The primary histogram name is constructed based
143 // on |base_name| and |experiment_id|. The field-specific histogram name also
  /external/chromium/chrome/browser/autocomplete/
history_quick_provider.cc 12 #include "base/metrics/histogram.h"
76 base::Histogram* counter = base::Histogram::FactoryGet(
77 name, 1, 1000, 50, base::Histogram::kUmaTargetedHistogramFlag);
  /external/chromium/webkit/glue/
webkitclient_impl.cc 18 #include "base/metrics/histogram.h"
265 // Copied from histogram macro, but without the static variable caching
266 // the histogram because name is dynamic.
267 base::Histogram* counter =
268 base::Histogram::FactoryGet(name, min, max, bucket_count,
269 base::Histogram::kUmaTargetedHistogramFlag);
276 // Copied from histogram macro, but without the static variable caching
277 // the histogram because name is dynamic.
278 base::Histogram* counter =
280 boundary_value + 1, base::Histogram::kUmaTargetedHistogramFlag)
    [all...]

Completed in 439 milliseconds

1 2