Skip to main content

Module timing

Module timing 

Source

Functions§

set_mem_hook

Type Aliases§

MemHook
Optional memory reporter, registered by profiling harnesses (e.g. the mem_profile example’s counting allocator). Returns (current bytes, peak bytes since the previous call) — the implementation resets its peak watermark on read so each stage line reports that stage’s own peak.