Skip to main content

merged_totals

Function merged_totals 

Source
pub fn merged_totals(
    entry: &mut Entry,
    read: Vec<(Timestamp, u64)>,
    from: Timestamp,
    final_to: Timestamp,
) -> Vec<(Timestamp, u64)>
Expand description

kept and read totals as one list by time, those before from left out; the final ones kept in entry.