ZJIT: Add --zjit-stats (#14034)

This commit is contained in:
Takashi Kokubun 2025-07-29 10:00:15 -07:00 committed by GitHub
parent a66e4f2154
commit b22eb0e468
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 212 additions and 25 deletions

View file

@ -11,8 +11,8 @@
#include <math.h>
#if USE_YJIT
// The number of instructions executed on vm_exec_core. --yjit-stats uses this.
#if USE_YJIT || USE_ZJIT
// The number of instructions executed on vm_exec_core. --yjit-stats and --zjit-stats use this.
uint64_t rb_vm_insns_count = 0;
#endif