mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
add several debug counters
add cc_found_in_ccs (renamed from cc_found_ccs), cc_not_found_in_ccs, call0_public, call0_other debug counters to measure more details. also it contains several modification.
This commit is contained in:
parent
aa6287cd26
commit
72a73691bd
Notes:
git
2020-12-15 13:29:52 +09:00
3 changed files with 108 additions and 66 deletions
|
@ -345,9 +345,11 @@ rb_call0(rb_execution_context_t *ec,
|
|||
}
|
||||
|
||||
if (scope == CALL_PUBLIC) {
|
||||
RB_DEBUG_COUNTER_INC(call0_public);
|
||||
me = rb_callable_method_entry_with_refinements(CLASS_OF(recv), mid, NULL);
|
||||
}
|
||||
else {
|
||||
RB_DEBUG_COUNTER_INC(call0_other);
|
||||
me = rb_search_method_entry(recv, mid);
|
||||
}
|
||||
call_status = rb_method_call_status(ec, me, scope, self);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue