diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-07-20 10:14:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-20 13:14:25 -0400 |
commit | b41fc9b9a4ad2043a9fabce15814eade9b252569 (patch) | |
tree | 26413c23ab919cf6fced99886cc75507ac96d594 /yjit.rb | |
parent | abce8583e253e96cf1268926ee7fd790f980ea96 (diff) |
YJIT: Avoid undercounting retired_in_yjit (#8038)
* YJIT: Count the number of failed instructions
* Rename yjit_insns_count to exec_instructions instead
* Hoist out the exec_instruction counter
Notes
Notes:
Merged-By: maximecb <maximecb@ruby-lang.org>
Diffstat (limited to 'yjit.rb')
-rw-r--r-- | yjit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -317,7 +317,7 @@ module RubyVM::YJIT out.puts "total_exit_count: " + format_number(13, stats[:total_exit_count]) out.puts "total_insns_count: " + format_number(13, stats[:total_insns_count]) out.puts "vm_insns_count: " + format_number(13, stats[:vm_insns_count]) - out.puts "yjit_insns_count: " + format_number(13, stats[:exec_instruction]) + out.puts "exec_instruction: " + format_number(13, stats[:exec_instruction]) out.puts "ratio_in_yjit: " + ("%12.1f" % stats[:ratio_in_yjit]) + "%" out.puts "avg_len_in_yjit: " + ("%13.1f" % stats[:avg_len_in_yjit]) |