Searched refs:kpc_fixed_count (Results 1 – 6 of 6) sorted by relevance
| /xnu-8019.80.24/osfmk/x86_64/ |
| H A D | monotonic_x86_64.c | 84 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() 158 for (uint32_t i = 0; i < kpc_fixed_count(); i++) { in mt_fixed_counter_set_ctrl_mask() 197 int fixed_count = kpc_fixed_count(); in enable_counters() 239 for (uint32_t i = 0; i < kpc_fixed_count(); i++) { in core_up() 282 for (uint32_t i = 0; i < kpc_fixed_count(); i++) { in mt_check_for_pmi() 341 for (uint32_t i = 0; i < kpc_fixed_count(); i++) { in mt_microstackshot_start_remote()
|
| H A D | kpc_x86.c | 128 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-8019.80.24/osfmk/kern/ |
| H A D | kpc.h | 60 #define CONFIGURABLE_ACTIONID(ctr) (kpc_actionid[(ctr) + kpc_fixed_count()]) 65 …GURABLE_RELOAD(ctr) (current_cpu_datap()->cpu_kpc_reload[(ctr) + kpc_fixed_count()]) 66 …CONFIGURABLE_RELOAD_CPU(cpu, ctr) (cpu_datap(cpu)->cpu_kpc_reload[(ctr) + kpc_fixed_count()]) 71 …GURABLE_SHADOW(ctr) (current_cpu_datap()->cpu_kpc_shadow[(ctr) + kpc_fixed_count()]) 72 …CONFIGURABLE_SHADOW_CPU(cpu, ctr) (cpu_datap(cpu)->cpu_kpc_shadow[(ctr) + kpc_fixed_count()]) 300 uint32_t kpc_fixed_count(void);
|
| H A D | kpc_common.c | 253 assert(ctr < (kpc_fixed_count() + kpc_configurable_count())); in kpc_controls_counter() 255 if (ctr < kpc_fixed_count()) { in kpc_controls_counter() 265 pmc_mask = (1ULL << (ctr - kpc_fixed_count())); in kpc_controls_counter() 415 count += kpc_fixed_count(); in kpc_get_counter_count()
|
| H A D | kern_monotonic.c | 307 for (int i = 0; i < (int) kpc_fixed_count(); i++) { in mt_mtc_update_fixed_counts()
|
| /xnu-8019.80.24/osfmk/arm/ |
| H A D | kpc_arm.c | 204 uint32_t cfg_count = kpc_configurable_count(), offset = kpc_fixed_count(); in set_running_configurable() 390 kpc_fixed_count(void) in kpc_fixed_count() function 436 uint32_t cfg_count = kpc_configurable_count(), offset = kpc_fixed_count(); in kpc_get_configurable_counters() 643 uint32_t classes = 0, count = 0, offset = kpc_fixed_count(); in kpc_set_reload_xcall() 659 count = kpc_fixed_count(); in kpc_set_reload_xcall() 722 uint32_t cfg_count = kpc_configurable_count(), offset = kpc_fixed_count(); in kpc_get_configurable_config() 738 uint32_t cfg_count = kpc_configurable_count(), offset = kpc_fixed_count(); in kpc_set_configurable_config() 889 kpc_fixed_count(void) in kpc_fixed_count() function
|