Home
last modified time | relevance | path

Searched refs:histogram_name (Results 1 – 25 of 28) sorted by relevance

12

/external/autotest/client/cros/video/
Dhistogram_verifier.py13 def get_histogram_text(tab, histogram_name): argument
22 tab.Navigate('chrome://histograms/%s' % histogram_name)
29 logging.debug('chrome://histograms/%s:\n%s', histogram_name,
33 histogram_name)
37 def loaded(tab, histogram_name, pattern): argument
48 return re.search(pattern, get_histogram_text(tab, histogram_name))
51 def verify(cr, histogram_name, histogram_bucket_value): argument
70 msg = error_msg_format.format(histogram_name)
71 utils.poll_for_condition(lambda : loaded(tab, histogram_name,
77 def is_bucket_present(cr,histogram_name, histogram_bucket_value): argument
[all …]
Dhistogram_verifier_unittest.py82 self.histogram_name = 'mock_histogram'
85 None, self.histogram_name, begin=False)
126 '%s has bucket other than %s' % (self.histogram_name,
138 'Expect %s has %s' % (self.histogram_name, self.bucket_name)):
151 'Expect %s has %s' % (self.histogram_name, self.bucket_name)):
213 self.assertEqual(self.HISTOGRAM_NAME, differ.histogram_name)
/external/libchrome/base/android/
Drecord_histogram.cc33 std::string params_str = histogram->histogram_name(); in HistogramConstructionParamsToString()
57 std::string histogram_name = ConvertJavaStringToUTF8(env, j_histogram_name); in JNI_RecordHistogram_CheckHistogramArgs() local
59 histogram_name, &expected_min, &expected_max, &expected_bucket_count); in JNI_RecordHistogram_CheckHistogramArgs()
63 << histogram_name << "/" << expected_min << "/" << expected_max << "/" in JNI_RecordHistogram_CheckHistogramArgs()
76 std::string histogram_name = ConvertJavaStringToUTF8(env, j_histogram_name); in JNI_RecordHistogram_BooleanHistogram() local
78 histogram_name, HistogramBase::kUmaTargetedHistogramFlag); in JNI_RecordHistogram_BooleanHistogram()
96 std::string histogram_name = ConvertJavaStringToUTF8(env, j_histogram_name); in JNI_RecordHistogram_EnumeratedHistogram() local
98 LinearHistogram::FactoryGet(histogram_name, 1, boundary, boundary + 1, in JNI_RecordHistogram_EnumeratedHistogram()
123 std::string histogram_name = ConvertJavaStringToUTF8(env, j_histogram_name); in JNI_RecordHistogram_CustomCountHistogram() local
125 Histogram::FactoryGet(histogram_name, min, max, num_buckets, in JNI_RecordHistogram_CustomCountHistogram()
[all …]
Danimation_frame_time_histogram.cc19 std::string histogram_name = base::android::ConvertJavaStringToUTF8( in JNI_AnimationFrameTimeHistogram_SaveHistogram() local
23 UMA_HISTOGRAM_TIMES(histogram_name.c_str(), in JNI_AnimationFrameTimeHistogram_SaveHistogram()
/external/libchrome/base/test/metrics/
Dhistogram_tester.cc25 histograms_snapshot_[histogram->histogram_name()] = in HistogramTester()
130 if (!StartsWith(histogram->histogram_name(), prefix, in GetTotalCountsForPrefix()
135 GetHistogramSamplesSinceCreation(histogram->histogram_name()); in GetTotalCountsForPrefix()
138 result[histogram->histogram_name()] = new_samples->TotalCount(); in GetTotalCountsForPrefix()
146 const std::string& histogram_name) const { in GetHistogramSamplesSinceCreation()
147 HistogramBase* histogram = StatisticsRecorder::FindHistogram(histogram_name); in GetHistogramSamplesSinceCreation()
156 new SampleMap(HashMetricName(histogram_name))); in GetHistogramSamplesSinceCreation()
160 auto original_samples_it = histograms_snapshot_.find(histogram_name); in GetHistogramSamplesSinceCreation()
174 if (histogram_data.first == histogram->histogram_name()) in GetAllHistogramsRecorded()
181 histogram->histogram_name(), named_samples->TotalCount()); in GetAllHistogramsRecorded()
Dhistogram_tester.h127 const std::string& histogram_name) const;
/external/libchrome/base/metrics/
Dsingle_sample_metrics.cc38 const std::string& histogram_name, in CreateCustomCountsMetric() argument
43 histogram_name, min, max, bucket_count, in CreateCustomCountsMetric()
48 const std::string& histogram_name, in DefaultSingleSampleMetric() argument
53 : histogram_(Histogram::FactoryGet(histogram_name, in DefaultSingleSampleMetric()
Dsingle_sample_metrics.h54 const std::string& histogram_name,
71 const std::string& histogram_name,
82 DefaultSingleSampleMetric(const std::string& histogram_name,
Dsparse_histogram.cc176 pickle->WriteString(histogram_name()); in SerializeInfoImpl()
207 std::string histogram_name; in DeserializeInfoImpl() local
209 if (!iter->ReadString(&histogram_name) || !iter->ReadInt(&flags)) { in DeserializeInfoImpl()
210 DLOG(ERROR) << "Pickle error decoding Histogram: " << histogram_name; in DeserializeInfoImpl()
216 return SparseHistogram::FactoryGet(histogram_name, flags); in DeserializeInfoImpl()
284 StringAppendF(output, "Histogram: %s recorded %d samples", histogram_name(), in WriteAsciiHeader()
Dhistogram_snapshot_manager_unittest.cc26 recorded_delta_histogram_names_.push_back(histogram.histogram_name()); in RecordDelta()
29 histogram.histogram_name())); in RecordDelta()
32 recorded_delta_histogram_sum_[histogram.histogram_name()] = snapshot.sum(); in RecordDelta()
Dsparse_histogram_unittest.cc182 EXPECT_EQ("Sparse", StringPiece(sparse_histogram->histogram_name())); in TEST_P()
206 EXPECT_STREQ(histograms[0]->histogram_name(), "Sparse0"); in TEST_P()
207 EXPECT_STREQ(histograms[1]->histogram_name(), "Sparse1"); in TEST_P()
238 const char histogram_name[] = "Duplicated"; in TEST_P() local
243 SparseHistogram::FactoryGet(histogram_name, HistogramBase::kNoFlags); in TEST_P()
263 NewSparseHistogram(histogram_name); in TEST_P()
270 SparseHistogram::FactoryGet(histogram_name, HistogramBase::kNoFlags); in TEST_P()
Dhistogram.cc43 std::string* histogram_name, in ReadHistogramArguments() argument
49 if (!iter->ReadString(histogram_name) || in ReadHistogramArguments()
55 DLOG(ERROR) << "Pickle error decoding Histogram: " << *histogram_name; in ReadHistogramArguments()
66 DLOG(ERROR) << "Values error decoding Histogram: " << histogram_name; in ReadHistogramArguments()
576 pickle->WriteString(histogram_name()); in SerializeInfoImpl()
640 std::string histogram_name; in DeserializeInfoImpl() local
647 if (!ReadHistogramArguments(iter, &histogram_name, &flags, &declared_min, in DeserializeInfoImpl()
654 histogram_name, declared_min, declared_max, bucket_count, flags); in DeserializeInfoImpl()
758 StringAppendF(output, "Histogram: %s recorded %d samples", histogram_name(), in WriteAsciiHeader()
998 std::string histogram_name; in DeserializeInfoImpl() local
[all …]
Dhistogram_base_unittest.cc59 EXPECT_EQ("TestHistogram", StringPiece(deserialized->histogram_name())); in TEST_F()
84 EXPECT_EQ("TestHistogram", StringPiece(deserialized->histogram_name())); in TEST_F()
106 EXPECT_EQ("TestHistogram", StringPiece(deserialized->histogram_name())); in TEST_F()
133 EXPECT_EQ("TestHistogram", StringPiece(deserialized->histogram_name())); in TEST_F()
155 EXPECT_EQ("TestHistogram", StringPiece(deserialized->histogram_name())); in TEST_F()
Dstatistics_recorder.h154 static bool SetCallback(const std::string& histogram_name,
160 static void ClearCallback(const std::string& histogram_name);
166 static OnSampleCallback FindCallback(const std::string& histogram_name);
Dhistogram_base.cc79 DCHECK_EQ(StringPiece(histogram_name()), name); in CheckName()
155 root.SetString("name", histogram_name()); in WriteJSON()
171 StatisticsRecorder::FindCallback(histogram_name()); in FindAndRunCallback()
Dstatistics_recorder.cc28 return strcmp(a->histogram_name(), b->histogram_name()) < 0; in HistogramNameLesser()
87 const char* const name = histogram->histogram_name(); in RegisterOrDeleteDuplicate()
363 return !strstr(h->histogram_name(), in WithName()
Dhistogram_delta_serialization.cc28 << histogram->histogram_name(); in DeserializeHistogramAndAddSamples()
Ddummy_histogram.cc72 return HashMetricName(histogram_name()); in name_hash()
Dhistogram_snapshot_manager.cc109 DLOG(ERROR) << "Histogram: \"" << histogram->histogram_name() in PrepareSamples()
Dhistogram_base.h152 const char* histogram_name() const { return histogram_name_; } in histogram_name() function
Dstatistics_recorder_unittest.cc687 ASSERT_FALSE(StatisticsRecorder::FindHistogram(histogram->histogram_name())); in TEST_P()
692 StatisticsRecorder::FindHistogram(histogram->histogram_name()); in TEST_P()
/external/libchrome/base/files/
Dimportant_file_writer.cc57 void UmaHistogramExactLinearWithSuffix(const char* histogram_name, in UmaHistogramExactLinearWithSuffix() argument
63 DCHECK(histogram_name); in UmaHistogramExactLinearWithSuffix()
64 std::string histogram_full_name(histogram_name); in UmaHistogramExactLinearWithSuffix()
77 void UmaHistogramTimesWithSuffix(const char* histogram_name, in UmaHistogramTimesWithSuffix() argument
80 DCHECK(histogram_name); in UmaHistogramTimesWithSuffix()
81 std::string histogram_full_name(histogram_name); in UmaHistogramTimesWithSuffix()
/external/webrtc/modules/audio_processing/agc2/
Dlimiter.cc97 std::string histogram_name) in Limiter() argument
98 : interp_gain_curve_(apm_data_dumper, histogram_name), in Limiter()
/external/libchrome/base/task_scheduler/
Dtask_tracker.cc82 HistogramBase* GetLatencyHistogram(StringPiece histogram_name, in GetLatencyHistogram() argument
85 DCHECK(!histogram_name.empty()); in GetLatencyHistogram()
94 {"TaskScheduler", histogram_name, histogram_label, task_type_suffix}, in GetLatencyHistogram()
/external/webrtc/modules/audio_coding/acm2/
Daudio_coding_module.cc114 explicit ChangeLogger(const std::string& histogram_name) in ChangeLogger() argument
115 : histogram_name_(histogram_name) {} in ChangeLogger()

12