Home
last modified time | relevance | path

Searched refs:HashMetricName (Results 1 – 25 of 29) sorted by relevance

12

/external/cronet/base/profiler/
Dsample_metadata.cc27 : name_hash_(HashMetricName(name)), scope_(scope) {} in SampleMetadata()
52 : name_hash_(HashMetricName(name)), in ScopedSampleMetadata()
62 : name_hash_(HashMetricName(name)), in ScopedSampleMetadata()
91 period_start, period_end, HashMetricName(name), absl::nullopt, value, in ApplyMetadataToPastSamples()
102 HashMetricName(name), key, value, in ApplyMetadataToPastSamples()
117 return AddProfileMetadataImpl(HashMetricName(name), key, value, in AddProfileMetadata()
Dsample_metadata_unittest.cc25 EXPECT_EQ(HashMetricName("myname"), items[0].name_hash); in TEST()
47 EXPECT_EQ(HashMetricName("myname"), items[0].name_hash); in TEST()
69 EXPECT_EQ(HashMetricName("myname"), items[0].name_hash); in TEST()
90 EXPECT_EQ(HashMetricName("myname"), items[0].name_hash); in TEST()
115 EXPECT_EQ(HashMetricName("myname"), items[0].name_hash); in TEST()
Dstack_sampling_profiler_unittest.cc1546 EXPECT_EQ(HashMetricName("TestMetadata1"), metadata1.item.name_hash); in PROFILER_TEST_F()
1553 EXPECT_EQ(HashMetricName("TestMetadata2"), metadata2.item.name_hash); in PROFILER_TEST_F()
1640 EXPECT_EQ(HashMetricName("TestMetadata1"), metadata1.item.name_hash); in PROFILER_TEST_F()
1647 EXPECT_EQ(HashMetricName("TestMetadata2"), metadata2.item.name_hash); in PROFILER_TEST_F()
1705 EXPECT_EQ(HashMetricName("TestMetadata"), item.name_hash); in PROFILER_TEST_F()
1784 EXPECT_EQ(HashMetricName("TestMetadata1"), item.name_hash); in PROFILER_TEST_F()
1791 EXPECT_EQ(HashMetricName("TestMetadata2"), item.name_hash); in PROFILER_TEST_F()
/external/libchrome/base/metrics/
Dmetrics_hashes_unittest.cc18 TEST(MetricsUtilTest, HashMetricName) { in TEST() argument
29 uint64_t hash = HashMetricName(cases[i].input); in TEST()
Dsparse_histogram.cc33 StatisticsRecorder::ShouldRecordHistogram(HashMetricName(name)); in FactoryGet()
182 unlogged_samples_(new SampleMap(HashMetricName(name))), in SparseHistogram()
201 new PersistentSampleMap(HashMetricName(name), allocator, meta)), in SparseHistogram()
Dmetrics_hashes.h17 BASE_EXPORT uint64_t HashMetricName(base::StringPiece name);
Dmetrics_hashes.cc25 uint64_t HashMetricName(base::StringPiece name) { in HashMetricName() function
Ddummy_histogram.cc72 return HashMetricName(histogram_name()); in name_hash()
Dhistogram.cc165 StatisticsRecorder::ShouldRecordHistogram(HashMetricName(name_)); in Build()
241 static_cast<Sample>(HashMetricName(name_))); in Build()
466 static_cast<Sample>(HashMetricName(name))); in InspectConstructionArguments()
591 unlogged_samples_.reset(new SampleVector(HashMetricName(name), ranges)); in Histogram()
606 new PersistentSampleVector(HashMetricName(name), ranges, meta, counts)); in Histogram()
Dsparse_histogram_unittest.cc385 EXPECT_EQ(histogram->name_hash(), HashMetricName(kName)); in TEST_P()
/external/cronet/base/metrics/
Dmetrics_hashes_unittest.cc17 TEST(MetricsHashesTest, HashMetricName) { in TEST() argument
29 uint64_t hash = HashMetricName(cases[i].input); in TEST()
Dmetrics_hashes.h17 BASE_EXPORT uint64_t HashMetricName(base::StringPiece name);
Dstatistics_recorder_unittest.cc427 last_name_hash(HashMetricName("")), in CallbackCheckWrapper()
595 EXPECT_EQ(callback_wrapper.last_name_hash, HashMetricName("TestHistogram")); in TEST_P()
617 HashMetricName("TestLinearHistogram")); in TEST_P()
642 HashMetricName("TestCustomHistogram")); in TEST_P()
664 HashMetricName("TestSparseHistogram")); in TEST_P()
688 EXPECT_EQ(callback_wrapper.last_name_hash, HashMetricName("TestHistogram")); in TEST_P()
Dsparse_histogram.cc197 unlogged_samples_(new SampleMap(HashMetricName(name))), in SparseHistogram()
216 new PersistentSampleMap(HashMetricName(name), allocator, meta)), in SparseHistogram()
Dmetrics_hashes.cc34 uint64_t HashMetricName(base::StringPiece name) { in HashMetricName() function
Ddummy_histogram.cc73 return HashMetricName(histogram_name()); in name_hash()
Dhistogram.cc236 static_cast<Sample>(HashMetricName(*name_))); in Build()
449 static_cast<Sample>(HashMetricName(name))); in InspectConstructionArguments()
484 static_cast<Sample>(HashMetricName(name))); in InspectConstructionArguments()
610 std::make_unique<SampleVector>(HashMetricName(name), ranges); in Histogram()
624 HashMetricName(name), ranges, meta, counts); in Histogram()
Dsparse_histogram_unittest.cc448 EXPECT_EQ(histogram->name_hash(), HashMetricName(kName)); in TEST_P()
/external/cronet/components/metrics/
Dhistogram_encoder.cc27 histogram_proto->set_name_hash(base::HashMetricName(histogram_name)); in EncodeHistogramDelta()
Dcloned_install_detector.cc28 uint64_t hash = base::HashMetricName(value); in HashRawId()
Dcall_stack_profile_builder.cc53 return base::HashMetricName(name_bytes); in HashModuleFilename()
Dmetrics_log.cc264 uint64_t hash = base::HashMetricName(value); in Hash()
/external/libchrome/base/test/metrics/
Dhistogram_tester.cc156 new SampleMap(HashMetricName(histogram_name))); in GetHistogramSamplesSinceCreation()
/external/cronet/base/test/metrics/
Dhistogram_tester.cc219 new SampleMap(HashMetricName(histogram_name))); in GetHistogramSamplesSinceCreation()
/external/cronet/components/metrics/structured/
Dstructured_metrics_provider.cc453 base::HashMetricName(event.event_sequence_metadata().event_unique_id)); in RecordEvent()

12