Returns the total amount of time taken by all the passes measured.
(&self)
| 171 | |
| 172 | /// Returns the total amount of time taken by all the passes measured. |
| 173 | pub fn total(&self) -> Duration { |
| 174 | self.pass.iter().map(|p| p.total - p.child).sum() |
| 175 | } |
| 176 | } |
| 177 | |
| 178 | impl Default for PassTimes { |