Home
last modified time | relevance | path

Searched refs:DatumName (Results 1 – 3 of 3) sorted by relevance

/art/libartbase/base/metrics/
Dmetrics_test.cc131 TEST_F(MetricsTest, DatumName) { in TEST_F() argument
132 EXPECT_EQ("ClassVerificationTotalTime", DatumName(DatumId::kClassVerificationTotalTime)); in TEST_F()
205 << "Unexpected value for counter " << DatumName(counter_type); in TEST_F()
210 EXPECT_GE(value, 0u) << "Unexpected value for counter " << DatumName(counter_type); in TEST_F()
213 EXPECT_EQ(value, 0u) << "Unexpected value for counter " << DatumName(counter_type); in TEST_F()
223 << DatumName(histogram_type); in TEST_F()
226 << DatumName(histogram_type); in TEST_F()
232 << DatumName(histogram_type); in TEST_F()
266 EXPECT_NE(result.find(DatumName(DatumId::k##name)), std::string::npos); in TEST_F()
282 EXPECT_NE(value, 0u) << "Unexpected value for counter " << DatumName(counter_type); in TEST_F()
[all …]
Dmetrics_common.cc31 std::string DatumName(DatumId datum) { in DatumName() function
156 os_ << " " << DatumName(counter_type) << ": count = " << value << "\n"; in FormatReportCounter()
163 os_ << " " << DatumName(histogram_type) << ": range = " in FormatReportHistogram()
219 tinyxml2::XMLElement* counter = metrics->InsertNewChildElement(DatumName(counter_type).data()); in FormatReportCounter()
231 metrics->InsertNewChildElement(DatumName(histogram_type).data()); in FormatReportHistogram()
Dmetrics.h771 std::string DatumName(DatumId datum);