summaryrefslogtreecommitdiff
path: root/yjit.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-11-15 15:20:02 -0800
committerGitHub <noreply@github.com>2022-11-15 15:20:02 -0800
commit0d384ce6e627539d17f9307e522cb98bbca1ace3 (patch)
tree73cb77b66e605e7706b9d6c15e496e59f210d15e /yjit.rb
parentd1fb6595475707986356fd2533fa3f2a650ea39b (diff)
downloadruby-0d384ce6e627539d17f9307e522cb98bbca1ace3.tar.gz
YJIT: Include actual memory region size in stats (#6736)
Diffstat (limited to 'yjit.rb')
-rw-r--r--yjit.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/yjit.rb b/yjit.rb
index cac2430127..2d430557fd 100644
--- a/yjit.rb
+++ b/yjit.rb
@@ -262,6 +262,7 @@ module RubyVM::YJIT
$stderr.puts "inline_code_size: " + ("%10d" % stats[:inline_code_size])
$stderr.puts "outlined_code_size: " + ("%10d" % stats[:outlined_code_size])
$stderr.puts "freed_code_size: " + ("%10d" % stats[:freed_code_size])
+ $stderr.puts "code_region_size: " + ("%10d" % stats[:code_region_size])
$stderr.puts "yjit_alloc_size: " + ("%10d" % stats[:yjit_alloc_size]) if stats.key?(:yjit_alloc_size)
$stderr.puts "live_page_count: " + ("%10d" % stats[:live_page_count])
$stderr.puts "freed_page_count: " + ("%10d" % stats[:freed_page_count])