Home
last modified time | relevance | path

Searched refs:one_us (Results 1 – 2 of 2) sorted by relevance

/art/libartbase/base/
Dtime_utils_test.cc26 const uint64_t one_us = 1000; in TEST() local
32 EXPECT_EQ("1.000001s", PrettyDuration(1 * one_sec + one_us, 6)); in TEST()
34 EXPECT_EQ("1.000s", PrettyDuration(1 * one_sec + one_us, 3)); in TEST()
39 EXPECT_EQ("1.001ms", PrettyDuration(1 * one_ms + one_us)); in TEST()
42 EXPECT_EQ("1us", PrettyDuration(1 * one_us)); in TEST()
43 EXPECT_EQ("10us", PrettyDuration(10 * one_us)); in TEST()
44 EXPECT_EQ("100us", PrettyDuration(100 * one_us)); in TEST()
45 EXPECT_EQ("1.001us", PrettyDuration(1 * one_us + 1)); in TEST()
Dtime_utils.cc63 const uint64_t one_us = 1000; in GetAppropriateTimeUnit() local
68 } else if (nano_duration >= one_us) { in GetAppropriateTimeUnit()
78 const uint64_t one_us = 1000; in GetNsToTimeUnitDivisor() local
86 return one_us; in GetNsToTimeUnitDivisor()