pub fn format_duration(duration: i64) -> String
Expand description

Format a duration in nanoseconds into a string