pub fn record_dynamics_shutdown(duration_us: u64, timed_out: u64)
Record a shutdown completion with its duration and timeout count.