зеркало из https://github.com/github/ruby.git
YJIT: Make num_contexts_encoded a default counter
This commit is contained in:
Родитель
c735f4947e
Коммит
ec1ea2c5b9
|
@ -266,7 +266,7 @@ macro_rules! make_counters {
|
|||
|
||||
/// The list of counters that are available without --yjit-stats.
|
||||
/// They are incremented only by `incr_counter!` and don't use `gen_counter_incr`.
|
||||
pub const DEFAULT_COUNTERS: [Counter; 17] = [
|
||||
pub const DEFAULT_COUNTERS: [Counter; 18] = [
|
||||
Counter::code_gc_count,
|
||||
Counter::compiled_iseq_entry,
|
||||
Counter::cold_iseq_entry,
|
||||
|
@ -276,6 +276,7 @@ pub const DEFAULT_COUNTERS: [Counter; 17] = [
|
|||
Counter::compiled_branch_count,
|
||||
Counter::compile_time_ns,
|
||||
Counter::max_inline_versions,
|
||||
Counter::num_contexts_encoded,
|
||||
|
||||
Counter::invalidation_count,
|
||||
Counter::invalidate_method_lookup,
|
||||
|
|
Загрузка…
Ссылка в новой задаче