MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / total

Method total

cranelift/codegen/src/timing.rs:173–175  ·  view source on GitHub ↗

Returns the total amount of time taken by all the passes measured.

(&self)

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 3

sumMethod · 0.80
mapMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected