[][src]Function livesplit_core::analysis::current_pace::calculate

pub fn calculate(timer: &Timer, comparison: &str) -> Option<TimeSpan>

Calculates the current pace of the active attempt based on the comparison provided. If there's no active attempt, the final time of the comparison is returned instead.