[][src]Module livesplit_core::analysis::total_playtime

Provides functionality to calculate the total playtime for either a Run or a Timer. For a Run, all the durations stored in the Attempt History are summed together. For a Timer, the current attempt's duration is also factored in.

Traits

TotalPlaytime

Allows calculating the total playtime.

Functions

calculate

Calculates the total playtime. The source can be a Run, Timer or any other type that implements the TotalPlaytime trait.