Searched refs:max_fraction_digits (Results 1 – 2 of 2) sorted by relevance
41 std::string PrettyDuration(uint64_t nano_duration, size_t max_fraction_digits = 3);45 size_t max_fraction_digits);
51 std::string PrettyDuration(uint64_t nano_duration, size_t max_fraction_digits) { in PrettyDuration() argument56 max_fraction_digits); in PrettyDuration()94 size_t max_fraction_digits) { in FormatDuration() argument128 fraction_buffer[std::min(kMaxDigits - 1, max_fraction_digits)] = '\0'; in FormatDuration()