/external/chromium_org/chrome/test/nacl/ |
nacl_browsertest_uma.cc | 16 // Make sure histograms from child processes have been accumulated in the 18 UMAHistogramHelper histograms; 19 histograms.Fetch(); 22 histograms.ExpectUniqueSample("NaCl.LoadStatus.Plugin", 26 histograms.ExpectUniqueSample("NaCl.LoadStatus.SelLdr", 29 // Make sure we have other important histograms. 31 histograms.ExpectTotalCount("NaCl.Perf.StartupTime.LoadModule", 1); 32 histograms.ExpectTotalCount("NaCl.Perf.StartupTime.Total", 1); 33 histograms.ExpectTotalCount("NaCl.Perf.Size.Manifest", 1); 34 histograms.ExpectTotalCount("NaCl.Perf.Size.Nexe", 1) [all...] |
/external/chromium_org/chrome/browser/accessibility/ |
browser_accessibility_state_browsertest.cc | 13 // histograms won't get updated. 18 UMAHistogramHelper histograms; local 21 histograms.Fetch(); 22 histograms.ExpectTotalCount("Accessibility.State", 1); 24 histograms.ExpectTotalCount("Accessibility.WinScreenReader", 1); 26 histograms.ExpectTotalCount("Accessibility.CrosSpokenFeedback", 1);
|
/external/chromium_org/base/metrics/ |
sparse_histogram_unittest.cc | 71 StatisticsRecorder::Histograms histograms; local 72 StatisticsRecorder::GetHistograms(&histograms); 74 ASSERT_EQ(1U, histograms.size()); 75 HistogramBase* sparse_histogram = histograms[0]; 90 StatisticsRecorder::Histograms histograms; local 91 StatisticsRecorder::GetHistograms(&histograms); 93 ASSERT_EQ(1U, histograms.size()); 94 HistogramBase* sparse_histogram = histograms[0] 109 StatisticsRecorder::Histograms histograms; local [all...] |
histogram_snapshot_manager.cc | 30 StatisticsRecorder::Histograms histograms; local 31 StatisticsRecorder::GetHistograms(&histograms); 32 for (StatisticsRecorder::Histograms::const_iterator it = histograms.begin(); 33 histograms.end() != it; 52 // Crash if we detect that our histograms have been overwritten. This may be
|
/external/chromium/base/metrics/ |
histogram_unittest.cc | 74 // Test a statistics recorder, by letting histograms register. 77 StatisticsRecorder::Histograms histograms; local 78 EXPECT_EQ(0U, histograms.size()); 79 StatisticsRecorder::GetHistograms(&histograms); // Load up lists 80 EXPECT_EQ(0U, histograms.size()); 86 histograms.clear(); 87 StatisticsRecorder::GetHistograms(&histograms); // Load up lists 88 EXPECT_EQ(1U, histograms.size()); 92 histograms.clear() 152 StatisticsRecorder::Histograms histograms; local 231 StatisticsRecorder::Histograms histograms; local [all...] |
/external/chromium_org/tools/metrics/histograms/ |
extract_histograms.py | 8 see histograms.xml; however, here is a simple example to get you started. The 9 XML below will generate the following five histograms: 19 <histograms> 30 </histograms> 221 # Process the histograms. The descriptions can include HTML tags. 222 histograms = {} 228 logging.error('Histograms %s and %s are not in alphabetical order' 232 if name in histograms: 236 histograms[name] = histogram_entry = {} 271 return histograms, have_error [all...] |
validate_format.py | 5 """Verifies that the histograms XML file is well-formatted.""" 14 'histograms.xml') 15 histograms = extract_histograms.ExtractHistograms(xml_file)
|
find_unmapped_histograms.py | 5 """Scans the Chromium source for histograms that are absent from histograms.xml. 8 all histograms in the Chromium source are properly mapped. Notably, field 138 logging.info('Scanning Chromium source for histograms...') 147 histograms = set() 168 histograms.add(histogram_stripped) 170 return histograms 174 """Parses all histogram names from histograms.xml. 179 logging.info('Reading histograms from %s...' % histograms_file_location) 180 histograms = extract_histograms.ExtractHistograms(histograms_file_location [all...] |
/external/chromium/net/socket/ |
client_socket_handle.cc | 95 ClientSocketPoolHistograms* histograms = pool_->histograms(); local 96 histograms->AddSocketType(reuse_type()); 99 histograms->AddRequestTime(setup_time()); 102 histograms->AddUnusedIdleTime(idle_time()); 105 histograms->AddReusedIdleTime(idle_time());
|
socks_client_socket_pool.cc | 222 ClientSocketPoolHistograms* histograms, 227 base_(max_sockets, max_sockets_per_group, histograms, 313 ClientSocketPoolHistograms* SOCKSClientSocketPool::histograms() const { function in class:net::SOCKSClientSocketPool 314 return base_.histograms();
|
/external/chromium_org/chrome/browser/extensions/api/metrics_private/ |
metrics_apitest.cc | 28 // histograms. If the tests in test.js are modified, this array may need to be 102 base::StatisticsRecorder::Histograms histograms; local 103 base::StatisticsRecorder::GetHistograms(&histograms); 112 for (j = 0; j < histograms.size(); ++j) { 113 base::HistogramBase* histogram(histograms[j]); 122 EXPECT_LT(j, histograms.size());
|
/external/chromium_org/net/socket/ |
client_socket_handle.cc | 152 ClientSocketPoolHistograms* histograms = pool_->histograms(); local 153 histograms->AddErrorCode(result); 165 histograms->AddSocketType(reuse_type()); 168 histograms->AddRequestTime(setup_time()); 171 histograms->AddUnusedIdleTime(idle_time()); 174 histograms->AddReusedIdleTime(idle_time());
|
socks_client_socket_pool.cc | 195 ClientSocketPoolHistograms* histograms, 200 base_(this, max_sockets, max_sockets_per_group, histograms, 288 ClientSocketPoolHistograms* SOCKSClientSocketPool::histograms() const { function in class:net::SOCKSClientSocketPool 289 return base_.histograms();
|
/external/chromium_org/third_party/libwebp/enc/ |
histogram.c | 61 + (uint64_t)size * sizeof(*set->histograms) 62 + (uint64_t)size * sizeof(**set->histograms); 68 set->histograms = (VP8LHistogram**)memory; 69 memory += size * sizeof(*set->histograms); 74 set->histograms[i] = bulk + i; 75 VP8LHistogramInit(set->histograms[i], cache_bits); 341 VP8LHistogram** const histograms = image->histograms; local 346 VP8LHistogramAddSinglePixOrCopy(histograms[ix], v); 378 // Copy histograms from in[] to out[] [all...] |
histogram.h | 12 // Models the histograms of literal and distance codes. 31 // A simple container for histograms of data. 45 // Collection of histograms with fixed capacity, allocated as one 50 VP8LHistogram** histograms; member in struct:__anon12120 69 // Allocate an array of pointer to histograms, allocated and initialized
|
/external/webp/src/enc/ |
histogram.c | 61 + (uint64_t)size * sizeof(*set->histograms) 62 + (uint64_t)size * sizeof(**set->histograms); 68 set->histograms = (VP8LHistogram**)memory; 69 memory += size * sizeof(*set->histograms); 74 set->histograms[i] = bulk + i; 75 VP8LHistogramInit(set->histograms[i], cache_bits); 341 VP8LHistogram** const histograms = image->histograms; local 346 VP8LHistogramAddSinglePixOrCopy(histograms[ix], v); 378 // Copy histograms from in[] to out[] [all...] |
/external/chromium_org/chrome/browser/extensions/api/feedback_private/ |
feedback_service_chromeos.cc | 28 virtual void GetHistograms(std::string* histograms) OVERRIDE; 67 void FeedbackServiceImpl::GetHistograms(std::string* histograms) { 68 *histograms = base::StatisticsRecorder::ToJSON(std::string());
|
feedback_service_nonchromeos.cc | 37 virtual void GetHistograms(std::string* histograms) OVERRIDE; 86 void FeedbackServiceImpl::GetHistograms(std::string* histograms) {
|
feedback_service.h | 55 // Gets the histograms in JSON. 56 virtual void GetHistograms(std::string* histograms) = 0;
|
feedback_private_api.cc | 223 scoped_ptr<std::string> histograms(new std::string); 224 service->GetHistograms(histograms.get()); 225 if (!histograms->empty()) 226 feedback_data->SetAndCompressHistograms(histograms.Pass());
|
/external/chromium/chrome/browser/extensions/ |
extension_metrics_apitest.cc | 28 // histograms. If the tests in test.js are modified, this array may need to be 113 base::StatisticsRecorder::Histograms histograms; local 114 base::StatisticsRecorder::GetHistograms(&histograms); 125 for (j = 0; j < histograms.size(); ++j) { 126 base::Histogram* histogram(histograms[j]); 136 EXPECT_LT(j, histograms.size());
|
/external/skia/tools/ |
bbh_shootout.cpp | 357 SkTArray<Histogram> histograms[kNumBenchmarks]; local 360 histograms[i].reset(argc - 1); 364 histograms[i]); 399 SkScalar cpuTime = histograms[BenchmarkControl::kNormalRecord][i].fCpuTime; 402 cpuTime = histograms[BenchmarkControl::kRTreeRecord][i].fCpuTime; 409 pbLine.appendf("%f ", histograms[2][i].fCpuTime); // Start with normal playback time. 410 avgPlayback += histograms[kNumBbhPlaybackBenchmarks - 1][i].fCpuTime; 411 avgPlaybackRTree += histograms[kNumBbhPlaybackBenchmarks][i].fCpuTime; 414 pbLine.appendf("%f ", histograms[j][i].fCpuTime);
|
/external/chromium_org/chrome/browser/feedback/ |
feedback_data.cc | 43 FILE_PATH_LITERAL("histograms.txt"); 92 void ZipHistograms(const std::string& histograms, 95 if (histograms.empty() || 98 histograms, 163 scoped_ptr<std::string> histograms) { 166 histograms_ = histograms.Pass();
|
/external/linux-tools-perf/util/ |
annotate.h | 43 * @histogram: Array of addr hit histograms per event being monitored 58 struct sym_hist histograms[0]; member in struct:annotated_source 73 return (((void *)¬es->src->histograms) +
|
/external/chromium/chrome/browser/metrics/ |
histogram_synchronizer.h | 24 // respond by gathering snapshots of all internal histograms, calculating what 29 // blocks the UI thread, waiting to populate an about:histograms tab) and the 73 // changes to histograms. Return when all changes have been acquired, or when 75 // main UI thread from about:histograms. 79 // changes to histograms. When all changes have been acquired, or when the 85 // This method is called on the IO thread. Deserializes the histograms and 86 // records that we have received histograms from a renderer process. 88 int sequence_number, const std::vector<std::string>& histograms); 92 // the need to supply, to the browser, any changes in their histograms. 126 // to update histograms, and to signal that thread when updates are completed [all...] |