Home
last modified time | relevance | path

Searched refs:histograms (Results 1 – 25 of 73) sorted by relevance

123

/external/chromium_org/chrome/test/nacl/
Dnacl_browsertest_uma.cc18 UMAHistogramHelper histograms;
19 histograms.Fetch();
22 histograms.ExpectUniqueSample("NaCl.LoadStatus.Plugin",
26 histograms.ExpectUniqueSample("NaCl.LoadStatus.SelLdr",
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);
36 histograms.ExpectTotalCount("NaCl.Options.PNaCl.OptLevel", 1);
37 histograms.ExpectTotalCount("NaCl.Perf.Size.Manifest", 1);
[all …]
/external/chromium_org/tools/metrics/histograms/
Dextract_histograms.py222 histograms = {}
232 if name in histograms:
236 histograms[name] = histogram_entry = {}
271 return histograms, have_errors
274 def _UpdateHistogramsWithFieldTrialInformation(tree, histograms): argument
315 if not histogram_name in histograms:
347 base_description = histograms[histogram_name]
359 histograms[new_histogram_name] = copy.deepcopy(
360 histograms[histogram_name])
364 if not 'fieldtrial_groups' in histograms[new_histogram_name]:
[all …]
Dfind_unmapped_histograms.py147 histograms = set()
168 histograms.add(histogram_stripped)
170 return histograms
180 histograms = extract_histograms.ExtractHistograms(histograms_file_location)
181 return set(extract_histograms.ExtractNames(histograms))
/external/chromium/base/metrics/
Dhistogram_unittest.cc77 StatisticsRecorder::Histograms histograms; in TEST() local
78 EXPECT_EQ(0U, histograms.size()); in TEST()
79 StatisticsRecorder::GetHistograms(&histograms); // Load up lists in TEST()
80 EXPECT_EQ(0U, histograms.size()); in TEST()
86 histograms.clear(); in TEST()
87 StatisticsRecorder::GetHistograms(&histograms); // Load up lists in TEST()
88 EXPECT_EQ(1U, histograms.size()); in TEST()
92 histograms.clear(); in TEST()
93 StatisticsRecorder::GetHistograms(&histograms); // Load up lists in TEST()
94 EXPECT_EQ(2U, histograms.size()); in TEST()
[all …]
/external/chromium_org/base/metrics/
Dsparse_histogram_unittest.cc71 StatisticsRecorder::Histograms histograms; in TEST_F() local
72 StatisticsRecorder::GetHistograms(&histograms); in TEST_F()
74 ASSERT_EQ(1U, histograms.size()); in TEST_F()
75 HistogramBase* sparse_histogram = histograms[0]; in TEST_F()
90 StatisticsRecorder::Histograms histograms; in TEST_F() local
91 StatisticsRecorder::GetHistograms(&histograms); in TEST_F()
93 ASSERT_EQ(1U, histograms.size()); in TEST_F()
94 HistogramBase* sparse_histogram = histograms[0]; in TEST_F()
109 StatisticsRecorder::Histograms histograms; in TEST_F() local
110 StatisticsRecorder::GetHistograms(&histograms); in TEST_F()
[all …]
Dhistogram_snapshot_manager.cc30 StatisticsRecorder::Histograms histograms; in PrepareDeltas() local
31 StatisticsRecorder::GetHistograms(&histograms); in PrepareDeltas()
32 for (StatisticsRecorder::Histograms::const_iterator it = histograms.begin(); in PrepareDeltas()
33 histograms.end() != it; in PrepareDeltas()
/external/chromium_org/chrome/browser/accessibility/
Dbrowser_accessibility_state_browsertest.cc18 UMAHistogramHelper histograms; in IN_PROC_BROWSER_TEST_F() local
21 histograms.Fetch(); in IN_PROC_BROWSER_TEST_F()
22 histograms.ExpectTotalCount("Accessibility.State", 1); in IN_PROC_BROWSER_TEST_F()
24 histograms.ExpectTotalCount("Accessibility.WinScreenReader", 1); in IN_PROC_BROWSER_TEST_F()
26 histograms.ExpectTotalCount("Accessibility.CrosSpokenFeedback", 1); in IN_PROC_BROWSER_TEST_F()
/external/webp/src/enc/
Dhistogram.c61 + (uint64_t)size * sizeof(*set->histograms) in VP8LAllocateHistogramSet()
62 + (uint64_t)size * sizeof(**set->histograms); in VP8LAllocateHistogramSet()
68 set->histograms = (VP8LHistogram**)memory; in VP8LAllocateHistogramSet()
69 memory += size * sizeof(*set->histograms); in VP8LAllocateHistogramSet()
74 set->histograms[i] = bulk + i; in VP8LAllocateHistogramSet()
75 VP8LHistogramInit(set->histograms[i], cache_bits); in VP8LAllocateHistogramSet()
341 VP8LHistogram** const histograms = image->histograms; in HistogramBuildImage() local
346 VP8LHistogramAddSinglePixOrCopy(histograms[ix], v); in HistogramBuildImage()
381 in->histograms[i]->bit_cost_ = VP8LHistogramEstimateBits(in->histograms[i]); in HistogramCombine()
382 *out->histograms[i] = *in->histograms[i]; in HistogramCombine()
[all …]
/external/chromium_org/third_party/libwebp/enc/
Dhistogram.c61 + (uint64_t)size * sizeof(*set->histograms) in VP8LAllocateHistogramSet()
62 + (uint64_t)size * sizeof(**set->histograms); in VP8LAllocateHistogramSet()
68 set->histograms = (VP8LHistogram**)memory; in VP8LAllocateHistogramSet()
69 memory += size * sizeof(*set->histograms); in VP8LAllocateHistogramSet()
74 set->histograms[i] = bulk + i; in VP8LAllocateHistogramSet()
75 VP8LHistogramInit(set->histograms[i], cache_bits); in VP8LAllocateHistogramSet()
341 VP8LHistogram** const histograms = image->histograms; in HistogramBuildImage() local
346 VP8LHistogramAddSinglePixOrCopy(histograms[ix], v); in HistogramBuildImage()
381 in->histograms[i]->bit_cost_ = VP8LHistogramEstimateBits(in->histograms[i]); in HistogramCombine()
382 *out->histograms[i] = *in->histograms[i]; in HistogramCombine()
[all …]
/external/chromium/net/socket/
Dclient_socket_handle.cc95 ClientSocketPoolHistograms* histograms = pool_->histograms(); in HandleInitCompletion() local
96 histograms->AddSocketType(reuse_type()); in HandleInitCompletion()
99 histograms->AddRequestTime(setup_time()); in HandleInitCompletion()
102 histograms->AddUnusedIdleTime(idle_time()); in HandleInitCompletion()
105 histograms->AddReusedIdleTime(idle_time()); in HandleInitCompletion()
Dsocks_client_socket_pool.cc222 ClientSocketPoolHistograms* histograms, in SOCKSClientSocketPool() argument
227 base_(max_sockets, max_sockets_per_group, histograms, in SOCKSClientSocketPool()
313 ClientSocketPoolHistograms* SOCKSClientSocketPool::histograms() const { in histograms() function in net::SOCKSClientSocketPool
314 return base_.histograms(); in histograms()
Dtcp_client_socket_pool.cc247 ClientSocketPoolHistograms* histograms, in TCPClientSocketPool() argument
251 : base_(max_sockets, max_sockets_per_group, histograms, in TCPClientSocketPool()
351 ClientSocketPoolHistograms* TCPClientSocketPool::histograms() const { in histograms() function in net::TCPClientSocketPool
352 return base_.histograms(); in histograms()
/external/chromium/chrome/browser/
Dchrome_browser_application_mac_unittest.mm46 StatisticsRecorder::Histograms histograms;
47 StatisticsRecorder::GetSnapshot("OSX.NSException", &histograms);
48 EXPECT_EQ(0U, histograms.size());
69 StatisticsRecorder::GetSnapshot("OSX.NSException", &histograms);
70 EXPECT_EQ(1U, histograms.size());
71 EXPECT_EQ(Histogram::kUmaTargetedHistogramFlag, histograms[0]->flags());
73 histograms[0]->SnapshotSample(&sample);
80 EXPECT_EQ(kUnknownNSException + 1, histograms[0]->bucket_count());
/external/chromium_org/chrome/browser/
Dchrome_browser_application_mac_unittest.mm54 StatisticsRecorder::Histograms histograms;
55 StatisticsRecorder::GetSnapshot("OSX.NSException", &histograms);
56 EXPECT_EQ(0U, histograms.size());
77 StatisticsRecorder::GetSnapshot("OSX.NSException", &histograms);
78 EXPECT_EQ(1U, histograms.size());
79 EXPECT_EQ(HistogramBase::kUmaTargetedHistogramFlag, histograms[0]->flags());
81 scoped_ptr<HistogramSamples> samples(histograms[0]->SnapshotSamples());
88 EXPECT_TRUE(histograms[0]->HasConstructionArguments(1,
/external/chromium_org/net/socket/
Dclient_socket_handle.cc152 ClientSocketPoolHistograms* histograms = pool_->histograms(); in HandleInitCompletion() local
153 histograms->AddErrorCode(result); in HandleInitCompletion()
165 histograms->AddSocketType(reuse_type()); in HandleInitCompletion()
168 histograms->AddRequestTime(setup_time()); in HandleInitCompletion()
171 histograms->AddUnusedIdleTime(idle_time()); in HandleInitCompletion()
174 histograms->AddReusedIdleTime(idle_time()); in HandleInitCompletion()
Dsocks_client_socket_pool.cc195 ClientSocketPoolHistograms* histograms, in SOCKSClientSocketPool() argument
200 base_(this, max_sockets, max_sockets_per_group, histograms, in SOCKSClientSocketPool()
288 ClientSocketPoolHistograms* SOCKSClientSocketPool::histograms() const { in histograms() function in net::SOCKSClientSocketPool
289 return base_.histograms(); in histograms()
/external/chromium_org/chrome/browser/extensions/api/metrics_private/
Dmetrics_apitest.cc102 base::StatisticsRecorder::Histograms histograms; in ValidateHistograms() local
103 base::StatisticsRecorder::GetHistograms(&histograms); in ValidateHistograms()
112 for (j = 0; j < histograms.size(); ++j) { in ValidateHistograms()
113 base::HistogramBase* histogram(histograms[j]); in ValidateHistograms()
122 EXPECT_LT(j, histograms.size()); in ValidateHistograms()
/external/chromium/chrome/browser/extensions/
Dextension_metrics_apitest.cc113 base::StatisticsRecorder::Histograms histograms; in ValidateHistograms() local
114 base::StatisticsRecorder::GetHistograms(&histograms); in ValidateHistograms()
125 for (j = 0; j < histograms.size(); ++j) { in ValidateHistograms()
126 base::Histogram* histogram(histograms[j]); in ValidateHistograms()
136 EXPECT_LT(j, histograms.size()); in ValidateHistograms()
/external/skia/tools/
Dbbh_shootout.cpp357 SkTArray<Histogram> histograms[kNumBenchmarks]; in tool_main() local
360 histograms[i].reset(argc - 1); in tool_main()
364 histograms[i]); in tool_main()
399 SkScalar cpuTime = histograms[BenchmarkControl::kNormalRecord][i].fCpuTime; in tool_main()
402 cpuTime = histograms[BenchmarkControl::kRTreeRecord][i].fCpuTime; in tool_main()
409 pbLine.appendf("%f ", histograms[2][i].fCpuTime); // Start with normal playback time. in tool_main()
410 avgPlayback += histograms[kNumBbhPlaybackBenchmarks - 1][i].fCpuTime; in tool_main()
411 avgPlaybackRTree += histograms[kNumBbhPlaybackBenchmarks][i].fCpuTime; in tool_main()
414 pbLine.appendf("%f ", histograms[j][i].fCpuTime); in tool_main()
/external/chromium_org/chrome/browser/extensions/api/feedback_private/
Dfeedback_service_chromeos.cc28 virtual void GetHistograms(std::string* histograms) OVERRIDE;
67 void FeedbackServiceImpl::GetHistograms(std::string* histograms) { in GetHistograms() argument
68 *histograms = base::StatisticsRecorder::ToJSON(std::string()); in GetHistograms()
Dfeedback_private_api.cc223 scoped_ptr<std::string> histograms(new std::string); in RunImpl() local
224 service->GetHistograms(histograms.get()); in RunImpl()
225 if (!histograms->empty()) in RunImpl()
226 feedback_data->SetAndCompressHistograms(histograms.Pass()); in RunImpl()
Dfeedback_service_nonchromeos.cc37 virtual void GetHistograms(std::string* histograms) OVERRIDE;
86 void FeedbackServiceImpl::GetHistograms(std::string* histograms) { in GetHistograms() argument
/external/chromium_org/chrome/browser/feedback/
Dfeedback_data.cc92 void ZipHistograms(const std::string& histograms, in ZipHistograms() argument
95 if (histograms.empty() || in ZipHistograms()
98 histograms, in ZipHistograms()
163 scoped_ptr<std::string> histograms) { in SetAndCompressHistograms() argument
166 histograms_ = histograms.Pass(); in SetAndCompressHistograms()
/external/chromium_org/tools/perf/metrics/
Dspeedindex.py159 histograms = [(time, bitmap.ColorHistogram())
162 start_histogram = histograms[0][1]
163 final_histogram = histograms[-1][1]
178 for time, hist in histograms]
/external/linux-tools-perf/util/
Dannotate.h58 struct sym_hist histograms[0]; member
73 return (((void *)&notes->src->histograms) + in annotation__histogram()

123