pub fn calc_progress(elapsed: Duration, total_duration: Duration) -> f64
Calculate progress from elapsed time and duration