Searched refs:time_unit (Results 1 – 2 of 2) sorted by relevance
75 uint64_t GetNsToTimeUnitDivisor(TimeUnit time_unit) { in GetNsToTimeUnitDivisor() argument80 switch (time_unit) { in GetNsToTimeUnitDivisor()93 std::string FormatDuration(uint64_t nano_duration, TimeUnit time_unit, in FormatDuration() argument96 uint64_t divisor = GetNsToTimeUnitDivisor(time_unit); in FormatDuration()97 switch (time_unit) { in FormatDuration()
48 std::string FormatDuration(uint64_t nano_duration, TimeUnit time_unit,55 uint64_t GetNsToTimeUnitDivisor(TimeUnit time_unit);