JIT stats overlay: Count block invalidations

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Henrik RydgårdandClaude Opus 5.5 committed 2026-10-17 14:49:24 +02:00
1 parent 5e0cafaa52
commit 86791f6c3a
4 files changed
+10

No files matched your search

+1
View File
@@ -87,6 +87,7 @@ static void DrawJitStats(UIContext *ctx, const Bounds &bounds) {
w.F("IR arena: %d / %d instructions (%0.1f%%)\n", (int)stats.irArenaUsed, (int)stats.irArenaSize, irPercent);
w.F("Cleared because full: %d\n", stats.irArenaFullClears);
}
w.F("Invalidations: %d (%d blocks)\n", stats.invalidations, stats.invalidatedBlocks);
} else {
w.W("No JIT (interpreter)\n");
}