diff options
author | Alan Wu <XrXr@users.noreply.github.com> | 2021-09-22 16:56:42 -0400 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:41 -0400 |
commit | 0a108601eff5a1e69a4dd5dc170e9eaa807d4788 (patch) | |
tree | 347c861e60592a9bb91fa6b1e9c47ad25be29633 /yjit.rb | |
parent | e48fc07d11551a9a47034a03219e73c99bc4a38d (diff) |
Add counters for version invalidation reasons
I noticed that there were two st_table iterators that do exactly the
same thing so I merged them into one.
Diffstat (limited to 'yjit.rb')
-rw-r--r-- | yjit.rb | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -160,6 +160,7 @@ module YJIT print_counters(stats, prefix: 'oaref_', prompt: 'opt_aref exit reasons: ') print_counters(stats, prefix: 'expandarray_', prompt: 'expandarray exit reasons: ') print_counters(stats, prefix: 'opt_getinlinecache_', prompt: 'opt_getinlinecache exit reasons: ') + print_counters(stats, prefix: 'invalidate_', prompt: 'invalidation reasons: ') side_exits = total_exit_count(stats) total_exits = side_exits + stats[:leave_interp_return] |