Home
last modified time | relevance | path

Searched refs:kpc_fixed_count (Results 1 – 6 of 6) sorted by relevance

/xnu-12377.41.6/osfmk/x86_64/
H A Dmonotonic_x86_64.c84 if (!mt_core_supported || ctr >= kpc_fixed_count()) { in mt_core_snap()
106 if (!mt_core_supported || ctr >= kpc_fixed_count()) { in mt_core_set_snap()
153 for (uint32_t i = 0; i < kpc_fixed_count(); i++) { in mt_fixed_counter_set_ctrl_mask()
192 int fixed_count = kpc_fixed_count(); in enable_counters()
234 for (uint32_t i = 0; i < kpc_fixed_count(); i++) { in core_up()
277 for (uint32_t i = 0; i < kpc_fixed_count(); i++) { in mt_check_for_pmi()
336 for (uint32_t i = 0; i < kpc_fixed_count(); i++) { in mt_microstackshot_start_remote()
H A Dkpc_x86.c128 kpc_fixed_count(void) in kpc_fixed_count() function
235 for (i = 0; i < kpc_fixed_count(); i++) { in set_running_fixed()
249 for (i = 0; i < kpc_fixed_count(); i++) { in set_running_fixed()
664 for (ctr = 0; ctr < kpc_fixed_count(); ctr++) { in kpc_pmi_handler()
697 kpc_sample_kperf_x86(ctr + kpc_fixed_count(), actionid, in kpc_pmi_handler()
/xnu-12377.41.6/osfmk/kern/
H A Dkpc.h62 #define CONFIGURABLE_ACTIONID(ctr) (kpc_actionid[(ctr) + kpc_fixed_count()])
67 …GURABLE_RELOAD(ctr) (current_cpu_datap()->cpu_kpc_reload[(ctr) + kpc_fixed_count()])
68 …CONFIGURABLE_RELOAD_CPU(cpu, ctr) (cpu_datap(cpu)->cpu_kpc_reload[(ctr) + kpc_fixed_count()])
73 …GURABLE_SHADOW(ctr) (current_cpu_datap()->cpu_kpc_shadow[(ctr) + kpc_fixed_count()])
74 …CONFIGURABLE_SHADOW_CPU(cpu, ctr) (cpu_datap(cpu)->cpu_kpc_shadow[(ctr) + kpc_fixed_count()])
303 uint32_t kpc_fixed_count(void);
H A Dkpc_common.c250 assert(ctr < (kpc_fixed_count() + kpc_configurable_count())); in kpc_controls_counter()
252 if (ctr < kpc_fixed_count()) { in kpc_controls_counter()
262 pmc_mask = (1ULL << (ctr - kpc_fixed_count())); in kpc_controls_counter()
412 count += kpc_fixed_count(); in kpc_get_counter_count()
H A Dkern_monotonic.c96 for (int i = 0; i < (int) kpc_fixed_count(); i++) { in mt_mtc_update_fixed_counts()
/xnu-12377.41.6/osfmk/arm64/
H A Dkpc.c551 kpc_fixed_count(void) in kpc_fixed_count() function
596 uint32_t cfg_count = kpc_configurable_count(), offset = kpc_fixed_count(); in set_running_configurable()
694 uint32_t cfg_count = kpc_configurable_count(), offset = kpc_fixed_count(); in kpc_get_configurable_counters()
723 uint32_t cfg_count = kpc_configurable_count(), offset = kpc_fixed_count(); in kpc_get_configurable_config()
756 assert(ctr < (kpc_configurable_count() + kpc_fixed_count())); in kpc_reload_counter()
778 uint32_t classes = 0, count = 0, offset = kpc_fixed_count(); in kpc_set_reload_xcall()
929 unsigned int offset = kpc_fixed_count(); in kpc_set_config_arch()
1021 kpc_fixed_count(void) in kpc_fixed_count() function