Home
last modified time | relevance | path

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

/art/libartbase/base/
Dtime_utils.h44 std::string FormatDuration(uint64_t nano_duration, TimeUnit time_unit,
51 uint64_t GetNsToTimeUnitDivisor(TimeUnit time_unit);
Dtime_utils.cc75 uint64_t GetNsToTimeUnitDivisor(TimeUnit time_unit) { in GetNsToTimeUnitDivisor() argument
80 switch (time_unit) { in GetNsToTimeUnitDivisor()
93 std::string FormatDuration(uint64_t nano_duration, TimeUnit time_unit, in FormatDuration() argument
96 uint64_t divisor = GetNsToTimeUnitDivisor(time_unit); in FormatDuration()
97 switch (time_unit) { in FormatDuration()