module main #flag -I @VEXEROOT/thirdparty/libgc/include #include "@VMODROOT/bench/memory/gc_stats.h" fn C.vile_memory_gc_no() uint // Read a synchronized collector snapshot outside the measured call. Its C-stack // scratch storage introduces no allocation; GC remains enabled throughout. fn collections() u64 { $if gcboehm ? { return u64(C.vile_memory_gc_no()) } return 0 }