d073783f55
Host-side per-tick CPU spans of tick_mods (ground answers, world rays/ sections, snapshot, the WASM tick wall time, model prep, output), gated by HORIZON_MOD_CPU_PROFILE=1 like the fuel profile and bounded like FrameStats. Each record carries the game tick and the frame index it ran in, so the bench can join the spans with the frame/CPU/GPU trace; stats reports per-span percentiles and stats raw the per-tick records, cleared by stats reset/bench. game.monotonic-nanos (API level 32): a monotonic clock a mod reads to time its own phases, never simulation time. Additive to the game interface, so older mods still link; api_level and the generated reference updated. Co-Authored-By: Kimi Code <noreply@moonshot.ai>