diff options
author | Randy Stauner <[email protected]> | 2024-09-17 17:06:27 -0700 |
---|---|---|
committer | <[email protected]> | 2024-09-17 20:06:27 -0400 |
commit | 7c4b028435aa83ee42f3db2ecf47f53a1c2247cf () | |
tree | 0624e193606f66d83cd0bb66ef8199ec68709863 /yjit.rb | |
parent | 39679d7fabca7fe0918b538e746d5d4381862bce (diff) |
YJIT: Accept key for runtime_stats to return only that stat (#11536)
Notes: Merged-By: maximecb <[email protected]>
-rw-r--r-- | yjit.rb | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -155,8 +155,12 @@ module RubyVM::YJIT # Return a hash for statistics generated for the `--yjit-stats` command line option. # Return `nil` when option is not passed or unavailable. - def self.runtime_stats() - Primitive.rb_yjit_get_stats end # Format and print out counters as a String. This returns a non-empty |