HomeSort by relevance Sort by last modified time
    Searched refs:Histogram (Results 26 - 50 of 111) sorted by null

12 3 4 5

  /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...]
entropy_encode.h 22 #include "./histogram.h"
45 // length contains the size of the histogram.
74 void BuildEntropyCode(const Histogram<kSize>& histogram,
82 if (histogram.total_count_ == 0) return;
84 if (histogram.data_[i] > 0) {
91 memcpy(counts, &histogram.data_[0], sizeof(counts[0]) * kSize);
95 CreateHuffmanTree(&histogram.data_[0], alphabet_size, tree_limit,
  /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_base.cc 12 #include "base/metrics/histogram.h"
24 case HISTOGRAM:
25 return "HISTOGRAM";
46 case HISTOGRAM:
47 return Histogram::DeserializeInfoImpl(iter);
histogram_snapshot_manager.cc 42 void HistogramSnapshotManager::PrepareDelta(const HistogramBase& histogram) {
46 scoped_ptr<HistogramSamples> snapshot(histogram.SnapshotSamples());
47 const std::string& histogram_name = histogram.histogram_name();
49 int corruption = histogram.FindCorruption(*snapshot);
66 DLOG(ERROR) << "Histogram: " << histogram_name
73 return; // We've already seen this corruption for this histogram.
86 // This histogram has not been logged before, add a new entry.
97 histogram_flattener_->RecordDelta(histogram, *to_log);
109 if (discrepancy > Histogram::kCommonRaceBasedCountMismatch) {
  /external/chromium_org/chrome/browser/captive_portal/
captive_portal_service.cc 11 #include "base/metrics/histogram.h"
68 // Histogram macros can't be used with variable names, since they cache
69 // pointers, so have to use the histogram functions directly.
73 base::Histogram::FactoryGet(
78 base::Histogram::kUmaTargetedHistogramFlag);
86 base::Histogram::FactoryTimeGet(
91 base::Histogram::kUmaTargetedHistogramFlag);
  /external/chromium_org/chrome/browser/chromeos/
external_metrics.cc 14 #include "base/metrics/histogram.h"
37 if (!base::Histogram::InspectConstructionArguments(
40 base::HistogramBase* histogram =
42 if (!histogram)
44 return histogram->HasConstructionArguments(minimum, maximum, bucket_count);
163 CHECK_EQ(metrics::MetricSample::HISTOGRAM, sample.type());
166 DLOG(ERROR) << "Invalid histogram: " << sample.name();
171 base::Histogram::FactoryGet(sample.name(),
175 base::Histogram::kUmaTargetedHistogramFlag);
183 DLOG(ERROR) << "Invalid linear histogram: " << sample.name()
    [all...]
  /external/chromium_org/chrome/browser/chromeos/first_run/
step.cc 11 #include "base/metrics/histogram.h"
77 base::HistogramBase* histogram = base::Histogram::FactoryTimeGet( local
83 histogram->AddTime(base::Time::Now() - show_time_);
  /external/chromium_org/chrome/browser/mac/
mac_startup_profiler.cc 8 #include "base/metrics/histogram.h"
71 // No need to cache the histogram pointers, since each invocation of this
72 // method will be the first and only usage of a histogram with that given
74 base::HistogramBase* histogram = base::Histogram::FactoryTimeGet( local
80 histogram->AddTime(delta);
  /art/runtime/
leb128_test.cc 20 #include "base/histogram-inl.h"
256 std::unique_ptr<Histogram<uint64_t>> enc_hist(new Histogram<uint64_t>("Leb128EncodeSpeedTest", 5));
257 std::unique_ptr<Histogram<uint64_t>> dec_hist(new Histogram<uint64_t>("Leb128DecodeSpeedTest", 5));
281 Histogram<uint64_t>::CumulativeData enc_data;
285 Histogram<uint64_t>::CumulativeData dec_data;
  /external/chromium_org/chrome/renderer/pepper/
pepper_uma_host.cc 7 #include "base/metrics/histogram.h"
45 std::string HashPrefix(const std::string& histogram) {
47 base::SHA1HashString(histogram.substr(0, histogram.find('.')));
100 bool PepperUMAHost::IsHistogramAllowed(const std::string& histogram) {
101 if (is_plugin_in_process_ && histogram.find("NaCl.") == 0) {
106 allowed_histogram_prefixes_.find(HashPrefix(histogram)) !=
116 LOG(ERROR) << "Host or histogram name is not allowed to use the UMA API.";
138 base::HistogramBase* counter = base::Histogram::FactoryTimeGet(
144 // The histogram can be NULL if it is constructed with bad arguments. Ignor
    [all...]
  /external/chromium_org/components/startup_metric_utils/
startup_metric_utils.cc 10 #include "base/metrics/histogram.h"
129 // The Startup.BrowserMessageLoopStartTime histogram recorded in
206 base::HistogramBase* histogram = local
208 if (histogram)
209 histogram->SetFlags(base::HistogramBase::kUmaTargetedHistogramFlag);
219 base::HistogramBase* counter = base::Histogram::FactoryTimeGet(
224 base::Histogram::kUmaTargetedHistogramFlag);
243 // Only record the initial sample for a given histogram.
  /external/chromium_org/content/renderer/
renderer_main.cc 14 #include "base/metrics/histogram.h"
80 : process_times_(base::Histogram::FactoryGet(
82 1, 3600000, 50, base::Histogram::kUmaTargetedHistogramFlag)) {}
163 // Initialize histogram statistics gathering system.
  /external/chromium_org/components/metrics/
daily_event.cc 8 #include "base/metrics/histogram.h"
25 base::Histogram::FactoryGet(
  /frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Histogram.java 24 public class Histogram extends TestBase {
  /external/chromium_org/third_party/leveldatabase/
env_chromium.cc 14 #include "base/metrics/histogram.h"
427 uma_name, base::Histogram::kUmaTargetedHistogramFlag)->AddBoolean(result);
453 base::Histogram::FactoryGet(uma_name,
457 base::Histogram::kUmaTargetedHistogramFlag)
695 uma_name, base::Histogram::kUmaTargetedHistogramFlag)->AddBoolean(result);
704 base::Histogram::kUmaTargetedHistogramFlag);
711 kNumEntries + 1, base::Histogram::kUmaTargetedHistogramFlag);
722 return base::Histogram::FactoryGet(
724 base::Histogram::kUmaTargetedHistogramFlag);
735 base::Histogram::kUmaTargetedHistogramFlag)
    [all...]
  /external/chromium_org/net/cookies/
cookie_monster.cc 59 #include "base/metrics/histogram.h"
    [all...]
  /external/chromium_org/v8/src/
counters.h 30 // a histogram for passing to the AddHistogramSample function
36 // to a histogram created with CreateHistogram function
56 // Create a histogram by name. If the create is successful,
69 // Add a sample to a histogram created with the CreateHistogram
71 void AddHistogramSample(void* histogram, int sample) {
73 return add_histogram_sample_function_(histogram, sample);
167 // A Histogram represents a dynamically created histogram in the StatsTable.
168 // It will be registered with the histogram system on first use.
169 class Histogram {
    [all...]
  /external/chromium_org/components/password_manager/core/browser/
password_manager_metrics_util.cc 8 #include "base/metrics/histogram.h"
94 base::HistogramBase* histogram = local
101 histogram->Add(sample);
106 base::HistogramBase* histogram = local
109 base::Histogram::kNoFlags);
110 histogram->AddBoolean(sample);
  /external/chromium_org/chrome/browser/autocomplete/
history_quick_provider.cc 14 #include "base/metrics/histogram.h"
81 base::HistogramBase* counter = base::Histogram::FactoryGet(
82 name, 1, 1000, 50, base::Histogram::kUmaTargetedHistogramFlag);
  /external/chromium_org/components/autofill/core/browser/
autofill_metrics.cc 8 #include "base/metrics/histogram.h"
192 base::HistogramBase* histogram = local
199 histogram->Add(sample);
207 base::HistogramBase* histogram = local
208 base::Histogram::FactoryTimeGet(
214 histogram->AddTime(duration);
222 base::HistogramBase* histogram = local
223 base::Histogram::FactoryTimeGet(
229 histogram->AddTime(duration);
232 // Logs a type quality metric. The primary histogram name is constructed base
    [all...]
  /external/chromium_org/net/cert/
multi_log_ct_verifier_unittest.cc 11 #include "base/metrics/histogram.h"
165 // Histogram-related helper methods
167 base::Histogram* histogram = static_cast<base::Histogram*>( local
170 if (histogram == NULL)
173 scoped_ptr<base::HistogramSamples> samples = histogram->SnapshotSamples();
  /external/chromium_org/net/disk_cache/blockfile/
stats.cc 10 #include "base/metrics/histogram.h"
127 // Only generate this histogram for the main cache.
137 base::Histogram::InitializeBucketRanges(min, max, &ranges);
139 base::HistogramBase* stats_histogram = base::Histogram::FactoryGet(
  /external/chromium_org/tools/telemetry/telemetry/core/
bitmaptools.cc 16 HISTOGRAM = 1,
169 bool Histogram(const Bitmap& bmp) {
173 fprintf(stderr, "Could not parse HISTOGRAM command.\n");
256 case HISTOGRAM:
257 if (!Histogram(bmp)) return -1;
  /external/chromium_org/chrome/renderer/
page_load_histograms.cc 12 #include "base/metrics/histogram.h"
70 base::HistogramBase* histogram_pointer = base::Histogram::FactoryTimeGet(
119 counter = base::Histogram::FactoryTimeGet( \
121 base::Histogram::kUmaTargetedHistogramFlag); \
126 drp_counter = base::Histogram::FactoryTimeGet( \
129 base::Histogram::kUmaTargetedHistogramFlag); \
267 // meaningful information to the histogram.
    [all...]

Completed in 2912 milliseconds

12 3 4 5