/external/chromium_org/chrome/test/nacl/ |
nacl_browsertest_uma.cc | 15 base::HistogramTester histograms; 19 // Make sure histograms from child processes have been accumulated in the 24 histograms.ExpectUniqueSample("NaCl.LoadStatus.Plugin", 28 histograms.ExpectUniqueSample("NaCl.LoadStatus.SelLdr", 40 histograms.ExpectUniqueSample("NaCl.ValidationCache.Query", 43 histograms.ExpectUniqueSample("NaCl.ValidationCache.Set", 49 histograms.ExpectUniqueSample("NaCl.ValidationCache.Query", 52 histograms.ExpectUniqueSample("NaCl.ValidationCache.Set", 56 // Make sure we have other important histograms. 58 histograms.ExpectTotalCount("NaCl.Perf.StartupTime.LoadModule", 1) 92 base::HistogramTester histograms; local 140 base::HistogramTester histograms; local 180 base::HistogramTester histograms; local [all...] |
/external/chromium_org/chrome/browser/accessibility/ |
browser_accessibility_state_browsertest.cc | 13 // histograms won't get updated. 18 base::HistogramTester histograms; local 21 histograms.ExpectTotalCount("Accessibility.State", 1); 23 histograms.ExpectTotalCount("Accessibility.WinScreenReader", 1); 25 histograms.ExpectTotalCount("Accessibility.CrosSpokenFeedback", 1);
|
/external/chromium_org/base/metrics/ |
histogram_snapshot_manager_unittest.cc | 63 // kNoFlags filter should record all histograms. 70 const std::vector<std::string>& histograms = local 72 EXPECT_EQ(2U, histograms.size()); 73 EXPECT_EQ("UmaHistogram", histograms[0]); 74 EXPECT_EQ("UmaStabilityHistogram", histograms[1]); 85 const std::vector<std::string>& histograms = local 87 EXPECT_EQ(2U, histograms.size()); 88 EXPECT_EQ("UmaHistogram", histograms[0]); 89 EXPECT_EQ("UmaStabilityHistogram", histograms[1]); 100 const std::vector<std::string>& histograms local [all...] |
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]; 96 StatisticsRecorder::Histograms histograms; local 97 StatisticsRecorder::GetHistograms(&histograms); 98 ASSERT_EQ(2U, histograms.size()); 100 std::string name1 = histograms[0]->histogram_name() [all...] |
histogram_snapshot_manager.cc | 31 StatisticsRecorder::Histograms histograms; local 32 StatisticsRecorder::GetHistograms(&histograms); 33 for (StatisticsRecorder::Histograms::const_iterator it = histograms.begin(); 34 histograms.end() != it; 51 // Crash if we detect that our histograms have been overwritten. This may be
|
/external/chromium_org/tools/metrics/histograms/ |
histogram_ownership.py | 6 """A simple tool to go through histograms.xml and print out the owners for 7 histograms. 15 tree = xml.etree.ElementTree.parse('histograms.xml') 20 histograms = None 22 if node.tag == 'histograms': 23 histograms = node 25 assert histograms != None 27 for histogram in histograms.getchildren():
|
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> 236 # Process the histograms. The descriptions can include HTML tags. 237 histograms = {} 243 logging.error('Histograms %s and %s are not in alphabetical order', 247 if name in histograms: 251 histograms[name] = histogram_entry = {} 291 return histograms, have_error [all...] |
validate_format.py | 6 """Verifies that the histograms XML file is well-formatted.""" 15 'histograms.xml') 16 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 57 histograms dir. 135 logging.info('Scanning Chromium source for histograms...') 144 histograms = set() 165 histograms.add(histogram_stripped) 167 return histograms 171 """Parses all histogram names from histograms.xml. 176 logging.info('Reading histograms from %s...' % histograms_file_location [all...] |
/external/chromium_org/tools/telemetry/telemetry/value/ |
histogram_util_unittest.py | 32 histograms = [] 33 histograms.append("""{"count": 3, "buckets": [ 37 histograms.append("""{"count": 20, "buckets": [ 41 histograms.append("""{"count": 15, "buckets": [ 46 histogram_util.AddHistograms(histograms))
|
/external/chromium_org/chrome/browser/extensions/api/feedback_private/ |
feedback_service_chromeos.cc | 24 virtual void GetHistograms(std::string* histograms) OVERRIDE; 49 void FeedbackServiceImpl::GetHistograms(std::string* histograms) { 50 *histograms = base::StatisticsRecorder::ToJSON(std::string());
|
feedback_service_nonchromeos.cc | 24 virtual void GetHistograms(std::string* histograms) OVERRIDE; 55 void FeedbackServiceImpl::GetHistograms(std::string* histograms) {
|
feedback_service.h | 50 // Gets the histograms in JSON. 51 virtual void GetHistograms(std::string* histograms) = 0;
|
feedback_private_api.cc | 215 scoped_ptr<std::string> histograms(new std::string); 216 service->GetHistograms(histograms.get()); 217 if (!histograms->empty()) 218 feedback_data->SetAndCompressHistograms(histograms.Pass());
|
/external/chromium_org/third_party/libwebp/enc/ |
histogram.c | 105 + sizeof(*set->histograms) * size 112 set->histograms = (VP8LHistogram**)memory; 113 memory += size * sizeof(*set->histograms); 117 set->histograms[i] = (VP8LHistogram*)memory; 119 set->histograms[i]->literal_ = (uint32_t*)(memory + sizeof(VP8LHistogram)); 120 VP8LHistogramInit(set->histograms[i], cache_bits); 121 // There's no padding/alignment between successive histograms. 423 // Construct the histograms from backward references. 429 VP8LHistogram** const histograms = image_histo->histograms; local 452 VP8LHistogram** const histograms = image_histo->histograms; local 466 VP8LHistogram** const histograms = image_histo->histograms; local 503 VP8LHistogram** const histograms = image_histo->histograms; local 530 VP8LHistogram** const histograms = image_histo->histograms; local 574 VP8LHistogram** const histograms = image_histo->histograms; local 642 VP8LHistogram** const histograms = image_histo->histograms; local [all...] |
/external/webp/src/enc/ |
histogram.c | 105 + sizeof(*set->histograms) * size 112 set->histograms = (VP8LHistogram**)memory; 113 memory += size * sizeof(*set->histograms); 117 set->histograms[i] = (VP8LHistogram*)memory; 119 set->histograms[i]->literal_ = (uint32_t*)(memory + sizeof(VP8LHistogram)); 120 VP8LHistogramInit(set->histograms[i], cache_bits); 121 // There's no padding/alignment between successive histograms. 423 // Construct the histograms from backward references. 429 VP8LHistogram** const histograms = image_histo->histograms; local 452 VP8LHistogram** const histograms = image_histo->histograms; local 466 VP8LHistogram** const histograms = image_histo->histograms; local 503 VP8LHistogram** const histograms = image_histo->histograms; local 530 VP8LHistogram** const histograms = image_histo->histograms; local 574 VP8LHistogram** const histograms = image_histo->histograms; local 642 VP8LHistogram** const histograms = image_histo->histograms; local [all...] |
/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());
|
/external/chromium_org/chrome/browser/ui/views/profiles/ |
profile_chooser_view_browsertest.cc | 87 base::HistogramTester histograms; local 97 histograms.ExpectUniqueSample("Profile.NewAvatarMenu.Upgrade",
|
/external/chromium_org/base/test/ |
histogram_tester.cc | 20 StatisticsRecorder::Histograms histograms; local 21 StatisticsRecorder::GetSnapshot(std::string(), &histograms); local 22 for (size_t i = 0; i < histograms.size(); ++i) { 23 histograms_snapshot_[histograms[i]->histogram_name()] = 24 histograms[i]->SnapshotSamples().release();
|
/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 59 // We expect the following sparse histograms. 137 base::StatisticsRecorder::Histograms histograms; local 138 base::StatisticsRecorder::GetHistograms(&histograms); 147 for (j = 0; j < histograms.size(); ++j) { 148 base::HistogramBase* histogram(histograms[j]); 165 EXPECT_LT(j, histograms.size());
|
/external/chromium_org/third_party/brotli/src/brotli/enc/ |
block_splitter.cc | 237 std::vector<HistogramType>* histograms) { 239 histograms->clear(); 240 histograms->resize(num_types); 242 (*histograms)[block_ids[i]].Add(data[i]); 249 std::vector<HistogramType> histograms; local 258 histograms.push_back(cur_histogram); 267 ClusterHistograms(histograms, 1, histograms.size(), 312 std::vector<HistogramType> histograms; local 318 &histograms); [all...] |
histogram.cc | 15 // Build per-context histograms of literals, commands and distance codes. 76 std::vector<HistogramLiteral>* histograms) { 86 (*histograms)[context].Add(ringbuffer[pos & mask]);
|
/external/chromium_org/components/feedback/ |
feedback_data.cc | 27 FILE_PATH_LITERAL("histograms.txt"); 29 const char kHistogramsAttachmentName[] = "histograms.zip"; 72 scoped_ptr<std::string> histograms) { 75 if (!histograms.get()) 84 base::Passed(&histograms)),
|
feedback_data.h | 36 // Sets the histograms for this instance and kicks off its 38 void SetAndCompressHistograms(scoped_ptr<std::string> histograms);
|
/external/chromium_org/chrome/browser/chromeos/input_method/ |
input_method_engine_unittest.cc | 240 base::HistogramTester histograms; local 246 histograms.ExpectTotalCount("InputMethod.CommitLength", 3); 247 histograms.ExpectBucketCount("InputMethod.CommitLength", 5, 1); 248 histograms.ExpectBucketCount("InputMethod.CommitLength", 2, 1); 249 histograms.ExpectBucketCount("InputMethod.CommitLength", 7, 1);
|