summaryrefslogtreecommitdiff
path: root/yjit.rb
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>2022-11-30 14:09:10 -0500
committerGitHub <noreply@github.com>2022-11-30 14:09:10 -0500
commitd98d84b75dab450070ff3dc7154661a9941fb44d (patch)
treee4f6d979f7d6391ef88a0275d56f53305f5ff99e /yjit.rb
parentab4c7077cc44cd6725625562b7380a44cf462190 (diff)
downloadruby-d98d84b75dab450070ff3dc7154661a9941fb44d.tar.gz
YJIT: add new counters for deferred compilation and queued blocks (#6837)
Diffstat (limited to 'yjit.rb')
-rw-r--r--yjit.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/yjit.rb b/yjit.rb
index 8d67069b13..cc99a31648 100644
--- a/yjit.rb
+++ b/yjit.rb
@@ -261,6 +261,8 @@ module RubyVM::YJIT
$stderr.puts "compiled_iseq_count: " + ("%10d" % stats[:compiled_iseq_count])
$stderr.puts "compiled_block_count: " + ("%10d" % stats[:compiled_block_count])
$stderr.puts "compiled_branch_count: " + ("%10d" % stats[:compiled_branch_count])
+ $stderr.puts "block_next_count: " + ("%10d" % stats[:block_next_count])
+ $stderr.puts "defer_count: " + ("%10d" % stats[:defer_count])
$stderr.puts "freed_iseq_count: " + ("%10d" % stats[:freed_iseq_count])
$stderr.puts "invalidation_count: " + ("%10d" % stats[:invalidation_count])
$stderr.puts "constant_state_bumps: " + ("%10d" % stats[:constant_state_bumps])