Searched refs:one_ms (Results 1 – 2 of 2) sorted by relevance
25 const uint64_t one_ms = 1000000; in TEST() local31 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()
43 const uint64_t one_ms = 1000 * 1000; in GetAppropriateTimeUnit() local47 } else if (nano_duration >= one_ms) { in GetAppropriateTimeUnit()58 const uint64_t one_ms = 1000 * 1000; in GetNsToTimeUnitDivisor() local65 return one_ms; in GetNsToTimeUnitDivisor()