Skip to main content

accumulate

Function accumulate 

Source
pub fn accumulate(phase: Phase)
Expand description

Read the resolved timestamps and add end - begin ns to phase’s accumulator. Call after the kernel’s submit + device poll. No-op when profiling is off.