/external/chromium_org/courgette/ |
adjustment_method_2.cc | 511 typedef std::set<FreqView, FreqView::Greater> Histogram; 516 Histogram model_histogram_; 517 Histogram program_histogram_; 545 std::string HistogramToString(const ShinglePattern::Histogram& histogram, 548 size_t histogram_size = histogram.size(); 550 for (ShinglePattern::Histogram::const_iterator p = histogram.begin(); 551 p != histogram.end(); 562 std::string HistogramToStringFull(const ShinglePattern::Histogram& histogram [all...] |
/external/chromium_org/components/metrics/ |
metrics_log.cc | 15 #include "base/metrics/histogram.h" 143 // The following log is VERY helpful when folks add some named histogram into 145 // that happens, all we get to see (server side) is a hash of the histogram 146 // name. We can then use this logging to find out what histogram name was 193 base::Histogram::Sample min; 194 base::Histogram::Sample max; 195 base::Histogram::Count count; 235 // uma log upload, just as we send histogram data.
|
metrics_service.cc | 45 // memory statistics are deposited into a histogram, and the log finalization 46 // code is then called. In the finalization, a call to a Histogram server 170 #include "base/metrics/histogram.h" 452 void MetricsService::RecordDelta(const base::HistogramBase& histogram, 454 log_manager_.current_log()->RecordHistogramDelta(histogram.histogram_name(), 460 UMA_HISTOGRAM_ENUMERATION("Histogram.InconsistenciesBrowser", 466 UMA_HISTOGRAM_ENUMERATION("Histogram.InconsistenciesBrowserUnique", 471 UMA_HISTOGRAM_COUNTS("Histogram.InconsistentSnapshotBrowser", 763 // Put incremental data (histogram deltas, and realtime stats deltas) at the [all...] |
/external/chromium_org/content/browser/indexed_db/leveldb/ |
leveldb_database.cc | 13 #include "base/metrics/histogram.h" 159 base::Histogram::FactoryGet( 172 base::Histogram::FactoryGet(name, 258 base::Histogram::FactoryGet(histogram_name,
|
/external/chromium_org/content/renderer/media/crypto/ |
encrypted_media_player_support_impl.cc | 11 #include "base/metrics/histogram.h" 70 base::Histogram::kUmaTargetedHistogramFlag)->Add(sample); 77 base::Histogram::FactoryGet( 79 1, 1000000, 50, base::Histogram::kUmaTargetedHistogramFlag)->Add(sample);
|
/external/chromium_org/base/metrics/ |
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...] |
sample_vector_unittest.cc | 9 #include "base/metrics/histogram.h" 94 Histogram::InitializeBucketRanges(1, 64, &ranges); 111 // Note, this is not a valid BucketRanges for Histogram because it does not
|
/external/chromium_org/chrome/browser/autocomplete/ |
autocomplete_controller.cc | 12 #include "base/metrics/histogram.h" 277 base::HistogramBase* counter = base::Histogram::FactoryGet( 278 name, 1, 5000, 20, base::Histogram::kUmaTargetedHistogramFlag); 286 base::HistogramBase* counter = base::Histogram::FactoryGet( 287 name, 1, 1000, 50, base::Histogram::kUmaTargetedHistogramFlag);
|
shortcuts_provider.cc | 15 #include "base/metrics/histogram.h" 89 base::HistogramBase* counter = base::Histogram::FactoryGet( 90 name, 1, 1000, 50, base::Histogram::kUmaTargetedHistogramFlag);
|
/external/chromium_org/chrome/browser/metrics/ |
thread_watcher.cc | 322 response_time_histogram_ = base::Histogram::FactoryTimeGet( 326 base::Histogram::kUmaTargetedHistogramFlag); 330 unresponsive_time_histogram_ = base::Histogram::FactoryTimeGet( 334 base::Histogram::kUmaTargetedHistogramFlag); 340 base::Histogram::kUmaTargetedHistogramFlag); 346 base::Histogram::kUmaTargetedHistogramFlag); [all...] |
/external/chromium_org/chrome/browser/chromeos/ |
boot_times_loader.cc | 19 #include "base/metrics/histogram.h" 273 base::HistogramBase* total_hist = base::Histogram::FactoryTimeGet( 291 base::HistogramBase* prev_hist = base::Histogram::FactoryTimeGet(
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
bitmap.py | 7 tools: crop, find bounding box of a color and compute histogram of color values. 42 raise ValueError('First histogram has 0 pixels in it.') 44 raise ValueError('Second histogram has 0 pixels in it.') 52 '%s pixel(s) left over after computing histogram distance.' 73 raise ValueError('Histogram has no data and no default color.') 78 raise ValueError('Histogram has no data and no default color.') 121 HISTOGRAM = 1 157 def Histogram(self, ignore_color, tolerance): 159 response = self._RunCommand(_BitmapTools.HISTOGRAM, 342 """Computes a histogram of the pixel colors in this Bitmap [all...] |
/external/chromium_org/chrome/browser/extensions/api/metrics_private/ |
metrics_private_api.cc | 10 #include "base/metrics/histogram.h" 102 counter = base::Histogram::FactoryGet( 107 // The histogram can be NULL if it is constructed with bad arguments. Ignore 118 // Get the histogram parameters from the metric type object. 122 base::HistogramType histogram_type(type == "histogram-linear" ? 123 base::LINEAR_HISTOGRAM : base::HISTOGRAM); 150 return RecordValue(params->metric_name, base::HISTOGRAM, 158 return RecordValue(params->metric_name, base::HISTOGRAM, 166 return RecordValue(params->metric_name, base::HISTOGRAM, 174 return RecordValue(params->metric_name, base::HISTOGRAM, [all...] |
/external/chromium_org/chrome/browser/sessions/ |
session_restore.cc | 19 #include "base/metrics/histogram.h" 370 base::Histogram::FactoryTimeGet( 375 base::Histogram::kUmaTargetedHistogramFlag); 473 base::Histogram::FactoryTimeGet( 478 base::Histogram::kUmaTargetedHistogramFlag); [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/tools/metrics/histograms/ |
extract_histograms.py | 5 """Extract histogram names from the description XML file. 17 <histogram-configuration> 21 <histogram name="HistogramTime" units="milliseconds"> 23 <details>This is a more thorough description of this histogram.</details> 24 </histogram> 26 <histogram name="HistogramEnum" enum="MyEnumType"> 27 <summary>This histogram sports an enum value type.</summary> 28 </histogram> 48 <affected-histogram name="HistogramEnum"/> 53 </histogram-configuration [all...] |
/external/chromium_org/third_party/brotli/src/brotli/enc/ |
encode.cc | 31 #include "./histogram.h" 51 double Entropy(const std::vector<Histogram<kSize> >& histograms) { 60 double TotalBitCost(const std::vector<Histogram<kSize> >& histograms) { 284 Histogram<kCodeLengthCodes> huffman_tree_histogram; 300 void BuildAndStoreEntropyCode(const Histogram<kSize>& histogram, 318 if (histogram.data_[i] > 0) { 333 memcpy(&counts[0], histogram.data_, sizeof(counts[0]) * alphabet_size); 337 CreateHuffmanTree(histogram.data_, alphabet_size, tree_limit, code->depth_); 350 const std::vector<Histogram<kSize> >& histograms 556 HistogramContextMap histogram; local [all...] |
/external/chromium_org/ui/file_manager/gallery/js/image_editor/ |
filter.js | 84 * Return a color histogram for an image. 88 * histogram. 539 * @param {Object} options Histogram for autofix. 544 filter.autofix.stretchColors(options.histogram.r), 545 filter.autofix.stretchColors(options.histogram.g), 546 filter.autofix.stretchColors(options.histogram.b)); 552 * @param {Array.<number>} channelHistogram Histogram to calculate range. 566 * Return a range that encloses non-zero elements values in a histogram array. 567 * @param {Array.<number>} channelHistogram Histogram to analyze. 568 * @return {{first: number, last: number}} Channel range in histogram [all...] |
/external/chromium_org/chrome/browser/predictors/ |
resource_prefetch_predictor.cc | 12 #include "base/metrics/histogram.h" [all...] |
/external/chromium_org/content/child/ |
site_isolation_policy.cc | 11 #include "base/metrics/histogram.h" 78 // The default value of min, max, bucket_count are copied from histogram.h. 79 base::HistogramBase* histogram_pointer = base::Histogram::FactoryGet( 87 // The default value of min, max, bucket_count are copied from histogram.h.
|
/external/chromium_org/content/renderer/ |
render_thread_impl.cc | 21 #include "base/metrics/histogram.h" 251 base::HistogramBase* histogram = base::Histogram::FactoryGet( local 253 base::Histogram::kUmaTargetedHistogramFlag); 254 return histogram; 258 base::Histogram* histogram = static_cast<base::Histogram*>(hist); local 259 histogram->Add(sample); [all...] |
/external/chromium_org/net/dns/ |
dns_session.cc | 10 #include "base/metrics/histogram.h" 30 // Number of buckets in the histogram of observed RTTs. 32 // Target percentile in the RTT histogram used for retransmission timeout. 41 // Seed histogram with 2 samples at |rtt_estimate| timeout. 58 // A histogram of observed RTT . 69 base::Histogram::InitializeBucketRanges(1, 5000, this); 184 // Histogram-based method.
|
/external/chromium_org/ui/file_manager/image_loader/ |
image_loader_client.js | 57 * Records binary metrics. Counts for true and false are stored as a histogram. 58 * @param {string} name Histogram's name. 64 type: 'histogram-linear', 65 min: 1, // According to histogram.h, this should be 1 for enums. 72 * Records percent metrics, stored as a histogram. 73 * @param {string} name Histogram's name.
|
/external/chromium_org/chrome/browser/net/ |
network_stats.cc | 11 #include "base/metrics/histogram.h" 50 // histogram, which shows exactly what sequence of packets were received. 105 base::HistogramBase* histogram_pointer = base::Histogram::FactoryTimeGet( 119 base::HistogramBase* histogram_pointer = base::Histogram::FactoryGet( 659 base::Histogram::FactoryGet( 744 // histogram name. Total 3(tests) x 12 histograms. 756 // If we are running without a proxy, we'll generate an extra histogram with [all...] |
/external/chromium_org/chrome/browser/android/ |
most_visited_sites.cc | 15 #include "base/metrics/histogram.h" 163 // Log an event for a given |histogram| at a given element |position|. This 164 // routine exists because regular histogram macros are cached thus can't be used 165 // if the name of the histogram will change at a given call site. 166 void LogHistogramEvent(const std::string& histogram, int position, 169 histogram, 173 base::Histogram::kUmaTargetedHistogramFlag); 318 const std::string histogram = is_control_group_ ? local 320 LogHistogramEvent(histogram, index, num_sites_); 326 std::string histogram = base::StringPrintf local 404 const std::string histogram = is_control_group_ ? local 443 std::string histogram = base::StringPrintf( local [all...] |