Skip to main content

measured_start

Function measured_start 

Source
pub fn measured_start<T>(start: impl FnOnce() -> T) -> T
Expand description

A session started by start with perf on: in a build that counts the heap, what the start allocates (the game’s load) counts under the load phase, and each asset decode under its kind, as in a game’s window. Use it where a session will be measured, so its snapshots say what the load holds.