6     if (total_seconds < 0) {
 
   10     int hours = total_seconds / 3600;
 
   11     int minutes = (total_seconds % 3600) / 60;
 
   12     int seconds = total_seconds % 60;
 
   14     return fmt::format(
"{:02d}:{:02d}:{:02d}", hours, minutes, seconds);
 
   22     std::string suffix = 
"";
 
   23     if (mup_s > 1000000) {
 
   26     } 
else if (mup_s > 1000) {
 
   31     return fmt::format(
"{:.2f}{}", mup_s, suffix);
 
   35     if (total_seconds < 0) {
 
   39     int hours = 
static_cast<int>(total_seconds) / 3600;
 
   40     int minutes = (
static_cast<int>(total_seconds) % 3600) / 60;
 
   41     int seconds = 
static_cast<int>(total_seconds) % 60;
 
   42     int millis = 
static_cast<int>(total_seconds * 1000) % 1000;
 
   44     return fmt::format(
"{}h {}m {}s {}ms", hours, minutes, seconds, millis);