Home
last modified time | relevance | path

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

/art/runtime/base/
Dtime_utils_test.cc25 const uint64_t one_ms = 1000000; in TEST() local
31 EXPECT_EQ("1.001s", PrettyDuration(1 * one_sec + one_ms)); in TEST()
36 EXPECT_EQ("1ms", PrettyDuration(1 * one_ms)); in TEST()
37 EXPECT_EQ("10ms", PrettyDuration(10 * one_ms)); in TEST()
38 EXPECT_EQ("100ms", PrettyDuration(100 * one_ms)); in TEST()
39 EXPECT_EQ("1.001ms", PrettyDuration(1 * one_ms + one_us)); in TEST()
40 EXPECT_EQ("1.000001ms", PrettyDuration(1 * one_ms + 1, 6)); in TEST()
Dtime_utils.cc46 const uint64_t one_ms = 1000 * 1000; in GetAppropriateTimeUnit() local
50 } else if (nano_duration >= one_ms) { in GetAppropriateTimeUnit()
61 const uint64_t one_ms = 1000 * 1000; in GetNsToTimeUnitDivisor() local
68 return one_ms; in GetNsToTimeUnitDivisor()