Searched refs:max_fraction_digits (Results 1 – 2 of 2) sorted by relevance
38 std::string PrettyDuration(uint64_t nano_duration, size_t max_fraction_digits = 3);42 size_t max_fraction_digits);
32 std::string PrettyDuration(uint64_t nano_duration, size_t max_fraction_digits) { in PrettyDuration() argument37 max_fraction_digits); in PrettyDuration()75 size_t max_fraction_digits) { in FormatDuration() argument109 fraction_buffer[std::min(kMaxDigits - 1, max_fraction_digits)] = '\0'; in FormatDuration()