diff options
author | Takashi Kokubun <[email protected]> | 2025-04-04 07:39:32 -0700 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2025-04-18 21:53:01 +0900 |
commit | 2915806820f6fd0686a8a2c4484c961266dcc817 (patch) | |
tree | 6ac2481f350a3bdef60dff0768df89a32c6eeff3 /zjit.h | |
parent | 31106afdce97313d3598457f1f5b422a04c4af86 (diff) |
Add --zjit-num-profiles option (https://github.com/Shopify/zjit/pull/98)
* Add --zjit-profile-interval option
* Fix min to max
* Avoid rewriting instructions for --zjit-call-threshold=1
* Rename the option to --zjit-num-profiles
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13131
Diffstat (limited to 'zjit.h')
-rw-r--r-- | zjit.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -7,6 +7,7 @@ #if USE_ZJIT extern bool rb_zjit_enabled_p; extern uint64_t rb_zjit_call_threshold; +extern uint64_t rb_zjit_profile_threshold; void rb_zjit_compile_iseq(const rb_iseq_t *iseq, rb_execution_context_t *ec, bool jit_exception); void rb_zjit_profile_insn(enum ruby_vminsn_type insn, rb_execution_context_t *ec); void rb_zjit_profile_iseq(const rb_iseq_t *iseq); |