[前][次][番号順一覧][スレッド一覧]

ruby-changes:55167

From: k0kubun <ko1@a...>
Date: Fri, 29 Mar 2019 21:31:14 +0900 (JST)
Subject: [ruby-changes:55167] k0kubun:r67374 (trunk): Elaborate more on some debug counters [ci skip]

k0kubun	2019-03-29 21:31:08 +0900 (Fri, 29 Mar 2019)

  New Revision: 67374

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67374

  Log:
    Elaborate more on some debug counters [ci skip]

  Modified files:
    trunk/debug_counter.h
Index: debug_counter.h
===================================================================
--- debug_counter.h	(revision 67373)
+++ debug_counter.h	(revision 67374)
@@ -23,8 +23,8 @@ https://github.com/ruby/ruby/blob/trunk/debug_counter.h#L23
  *                                  (2) called from C (rb_funcall).
  * * mc_global_state_miss: inline mc miss by global_state miss.
  * * mc_class_serial_miss:            ... by mc_class_serial_miss
- * * mc_cme_complement: cme complement counts.
- * * mc_cme_complement_hit: cme cache hit counts.
+ * * mc_cme_complement: callable_method_entry complement counts.
+ * * mc_cme_complement_hit: callable_method_entry cache hit counts.
  * * mc_search_super: search_method() call counts.
  */
 RB_DEBUG_COUNTER(mc_inline_hit)
@@ -45,12 +45,12 @@ RB_DEBUG_COUNTER(ccf_iseq_setup) https://github.com/ruby/ruby/blob/trunk/debug_counter.h#L45
 RB_DEBUG_COUNTER(ccf_iseq_setup_0start)
 RB_DEBUG_COUNTER(ccf_iseq_setup_tailcall_0start)
 RB_DEBUG_COUNTER(ccf_iseq_fix) /* several functions created with tool/mk_call_iseq_optimized.rb */
-RB_DEBUG_COUNTER(ccf_iseq_opt)
-RB_DEBUG_COUNTER(ccf_iseq_kw1)
-RB_DEBUG_COUNTER(ccf_iseq_kw2)
+RB_DEBUG_COUNTER(ccf_iseq_opt) /* has_opt == TRUE (has optional parameters), but other flags are FALSE */
+RB_DEBUG_COUNTER(ccf_iseq_kw1) /* ivm_call_iseq_setup_kwparm_kwarg() */
+RB_DEBUG_COUNTER(ccf_iseq_kw2) /* vm_call_iseq_setup_kwparm_nokwarg() */
 RB_DEBUG_COUNTER(ccf_cfunc)
-RB_DEBUG_COUNTER(ccf_ivar)
-RB_DEBUG_COUNTER(ccf_attrset)
+RB_DEBUG_COUNTER(ccf_ivar) /* attr_reader */
+RB_DEBUG_COUNTER(ccf_attrset) /* attr_writer */
 RB_DEBUG_COUNTER(ccf_method_missing)
 RB_DEBUG_COUNTER(ccf_zsuper)
 RB_DEBUG_COUNTER(ccf_bmethod)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]