Function mist_core::timing::split_time_sum [−][src]
pub fn split_time_sum(ms_vec: &Vec<u128>) -> Vec<u128>
Expand description
Gets the sums of elements in a vec
Returns a Vec with the sums of every element up to that point in it.
For example, input of [6, 7, 8] returns [6, 13, 21].