Searched refs:histograms (Results 1 - 25 of 51) sorted by relevance

123

/external/chromium_org/chrome/test/nacl/
H A Dnacl_browsertest_uma.cc15 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
92 base::HistogramTester histograms; local
140 base::HistogramTester histograms; local
180 base::HistogramTester histograms; local
[all...]
/external/chromium_org/chrome/browser/accessibility/
H A Dbrowser_accessibility_state_browsertest.cc13 // 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/
H A Dhistogram_snapshot_manager_unittest.cc63 // 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...]
H A Dsparse_histogram_unittest.cc71 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();
101 std::string name2 = histograms[1]->histogram_name();
H A Dhistogram_snapshot_manager.cc31 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/telemetry/telemetry/value/
H A Dhistogram_util_unittest.py32 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/tools/metrics/histograms/
H A Dhistogram_ownership.py6 """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():
H A Dextract_histograms.py8 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 = {}
247 if name in histograms:
251 histograms[name] = histogram_entry = {}
291 return histograms, have_errors
294 def _UpdateHistogramsWithSuffixes(tree, histograms)
[all...]
H A Dvalidate_format.py6 """Verifies that the histograms XML file is well-formatted."""
15 'histograms.xml')
16 histograms = extract_histograms.ExtractHistograms(xml_file)
H A Dfind_unmapped_histograms.py5 """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 fro
[all...]
/external/chromium_org/chrome/browser/extensions/api/feedback_private/
H A Dfeedback_service_chromeos.cc24 virtual void GetHistograms(std::string* histograms) OVERRIDE;
49 void FeedbackServiceImpl::GetHistograms(std::string* histograms) { argument
50 *histograms = base::StatisticsRecorder::ToJSON(std::string());
H A Dfeedback_service_nonchromeos.cc24 virtual void GetHistograms(std::string* histograms) OVERRIDE;
55 void FeedbackServiceImpl::GetHistograms(std::string* histograms) { argument
H A Dfeedback_private_api.cc215 scoped_ptr<std::string> histograms(new std::string);
216 service->GetHistograms(histograms.get());
217 if (!histograms->empty())
218 feedback_data->SetAndCompressHistograms(histograms.Pass());
H A Dfeedback_service.h50 // Gets the histograms in JSON.
51 virtual void GetHistograms(std::string* histograms) = 0;
/external/chromium_org/third_party/libwebp/enc/
H A Dhistogram.c105 + 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/
H A Dhistogram.c105 + 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/
H A Dclient_socket_handle.cc152 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/
H A Dprofile_chooser_view_browsertest.cc87 base::HistogramTester histograms; local
97 histograms.ExpectUniqueSample("Profile.NewAvatarMenu.Upgrade",
/external/chromium_org/base/test/
H A Dhistogram_tester.cc20 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/
H A Dmetrics_apitest.cc28 // 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/
H A Dblock_splitter.cc237 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);
235 BuildBlockHistograms(const DataType* data, const size_t length, uint8_t* block_ids, std::vector<HistogramType>* histograms) argument
[all...]
H A Dhistogram.cc15 // Build per-context histograms of literals, commands and distance codes.
76 std::vector<HistogramLiteral>* histograms) {
86 (*histograms)[context].Add(ringbuffer[pos & mask]);
68 BuildLiteralHistogramsForBlockType( const std::vector<Command>& cmds, const BlockSplit& literal_split, const uint8_t* ringbuffer, size_t pos, size_t mask, int block_type, int context_mode, std::vector<HistogramLiteral>* histograms) argument
/external/chromium_org/components/feedback/
H A Dfeedback_data.cc27 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)),
71 SetAndCompressHistograms( scoped_ptr<std::string> histograms) argument
H A Dfeedback_data.h36 // 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/
H A Dinput_method_engine_unittest.cc240 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);

Completed in 463 milliseconds

123