/external/autotest/client/cros/video/ |
D | histogram_verifier.py | 13 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 …]
|
D | histogram_verifier_unittest.py | 82 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/ |
D | record_histogram.cc | 33 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 …]
|
D | animation_frame_time_histogram.cc | 19 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/ |
D | histogram_tester.cc | 25 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()
|
D | histogram_tester.h | 127 const std::string& histogram_name) const;
|
/external/libchrome/base/metrics/ |
D | single_sample_metrics.cc | 38 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()
|
D | single_sample_metrics.h | 54 const std::string& histogram_name, 71 const std::string& histogram_name, 82 DefaultSingleSampleMetric(const std::string& histogram_name,
|
D | sparse_histogram.cc | 176 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()
|
D | histogram_snapshot_manager_unittest.cc | 26 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()
|
D | sparse_histogram_unittest.cc | 182 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()
|
D | histogram.cc | 43 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 …]
|
D | histogram_base_unittest.cc | 59 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()
|
D | statistics_recorder.h | 154 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);
|
D | histogram_base.cc | 79 DCHECK_EQ(StringPiece(histogram_name()), name); in CheckName() 155 root.SetString("name", histogram_name()); in WriteJSON() 171 StatisticsRecorder::FindCallback(histogram_name()); in FindAndRunCallback()
|
D | statistics_recorder.cc | 28 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()
|
D | histogram_delta_serialization.cc | 28 << histogram->histogram_name(); in DeserializeHistogramAndAddSamples()
|
D | dummy_histogram.cc | 72 return HashMetricName(histogram_name()); in name_hash()
|
D | histogram_snapshot_manager.cc | 109 DLOG(ERROR) << "Histogram: \"" << histogram->histogram_name() in PrepareSamples()
|
D | histogram_base.h | 152 const char* histogram_name() const { return histogram_name_; } in histogram_name() function
|
D | statistics_recorder_unittest.cc | 687 ASSERT_FALSE(StatisticsRecorder::FindHistogram(histogram->histogram_name())); in TEST_P() 692 StatisticsRecorder::FindHistogram(histogram->histogram_name()); in TEST_P()
|
/external/libchrome/base/files/ |
D | important_file_writer.cc | 57 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/ |
D | limiter.cc | 97 std::string histogram_name) in Limiter() argument 98 : interp_gain_curve_(apm_data_dumper, histogram_name), in Limiter()
|
/external/libchrome/base/task_scheduler/ |
D | task_tracker.cc | 82 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/ |
D | audio_coding_module.cc | 114 explicit ChangeLogger(const std::string& histogram_name) in ChangeLogger() argument 115 : histogram_name_(histogram_name) {} in ChangeLogger()
|