diff options
Diffstat (limited to 'yjit.rb')
-rw-r--r-- | yjit.rb | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -163,6 +163,7 @@ module RubyVM::YJIT # Proportion of instructions that retire in YJIT total_insns_count = retired_in_yjit + stats[:vm_insns_count] yjit_ratio_pct = 100.0 * retired_in_yjit.to_f / total_insns_count + stats[:total_insns_count] = total_insns_count stats[:ratio_in_yjit] = yjit_ratio_pct end @@ -271,7 +272,7 @@ module RubyVM::YJIT $stderr.puts "num_gc_obj_refs: " + ("%10d" % stats[:num_gc_obj_refs]) $stderr.puts "side_exit_count: " + ("%10d" % stats[:side_exit_count]) $stderr.puts "total_exit_count: " + ("%10d" % stats[:total_exit_count]) - $stderr.puts "total_insns_count: " + ("%10d" % stats[:total_insns_count]) + $stderr.puts "total_insns_count: " + ("%10d" % stats[:total_insns_count]) if stats.key?(:total_insns_count) if stats.key?(:vm_insns_count) $stderr.puts "vm_insns_count: " + ("%10d" % stats[:vm_insns_count]) end |