(ms: u64)
| 325 | } |
| 326 | |
| 327 | fn format_duration_ms(ms: u64) -> String { |
| 328 | if ms == 0 { |
| 329 | return String::new(); |
| 330 | } |
| 331 | if ms < 1000 { |
| 332 | format!("{ms}ms") |
| 333 | } else { |
| 334 | format!("{:.1}s", ms as f64 / 1000.0) |
| 335 | } |
| 336 | } |
| 337 | |
| 338 | /// Print the third title row: last sync and full sync timestamps, right-aligned in dim. |
| 339 | fn print_sync_row( |