Searched refs:hw (Results 1 – 9 of 9) sorted by relevance
| /xnu-12377.41.6/osfmk/kern/ |
| H A D | cpc.c | 45 cpc_hw_acquire(cpc_hw_t hw, const char *owner_name) in cpc_hw_acquire() argument 48 assert3u(hw, <, CPC_HW_COUNT); in cpc_hw_acquire() 50 if (hw == CPC_HW_CPMU && kpc_get_force_all_ctrs()) { in cpc_hw_acquire() 53 return os_atomic_cmpxchg(&_cpc_hw_owners[hw], NULL, owner_name, acq_rel); in cpc_hw_acquire() 55 #pragma unused(hw, owner_name) in cpc_hw_acquire() 61 cpc_hw_in_use(cpc_hw_t hw) in cpc_hw_in_use() argument 64 assert3u(hw, <, CPC_HW_COUNT); in cpc_hw_in_use() 65 return os_atomic_load(&_cpc_hw_owners[hw], acquire) != NULL; in cpc_hw_in_use() 67 #pragma unused(hw) in cpc_hw_in_use() 73 cpc_hw_release(cpc_hw_t hw, const char *owner_name) in cpc_hw_release() argument [all …]
|
| H A D | cpc.h | 47 __result_use_check bool cpc_hw_acquire(cpc_hw_t hw, const char *owner_name); 48 bool cpc_hw_in_use(cpc_hw_t hw); 49 void cpc_hw_release(cpc_hw_t hw, const char *owner_name); 56 bool cpc_event_allowed(cpc_hw_t hw, uint16_t event_selector);
|
| /xnu-12377.41.6/ |
| H A D | Makefile | 146 export SYSCTL_HW_PHYSICALCPU := $(shell /usr/sbin/sysctl -n hw.physicalcpu) 147 export SYSCTL_HW_LOGICALCPU := $(shell /usr/sbin/sysctl -n hw.logicalcpu) 163 export SYSCTL_HW_PHYSICALCPU := $(shell /usr/sbin/sysctl -n hw.physicalcpu) 164 export SYSCTL_HW_LOGICALCPU := $(shell /usr/sbin/sysctl -n hw.logicalcpu) 196 export SYSCTL_HW_PHYSICALCPU := $(shell /usr/sbin/sysctl -n hw.physicalcpu) 197 export SYSCTL_HW_LOGICALCPU := $(shell /usr/sbin/sysctl -n hw.logicalcpu)
|
| /xnu-12377.41.6/tools/tests/MPMMTest/ |
| H A D | MPMMtest_run.sh | 11 ARM64=`sysctl -n hw.optional.arm64` 12 X86_64=`sysctl -n hw.optional.x86_64`
|
| /xnu-12377.41.6/tools/tests/execperf/ |
| H A D | test.sh | 43 for j in `jot $(sysctl -n hw.ncpu) 1`; do
|
| /xnu-12377.41.6/osfmk/arm64/ |
| H A D | cpc_arm64_events.c | 58 _cpc_select_event(cpc_hw_t hw, uint16_t selector) in _cpc_select_event() argument 60 assert(hw < CPC_HW_COUNT); in _cpc_select_event() 61 const struct cpc_event_list *list = _cpc_known_events[hw]; in _cpc_select_event() 94 cpc_hw_t hw, in cpc_event_allowed() argument 108 return _cpc_select_event(hw, event_selector) != NULL; in cpc_event_allowed()
|
| /xnu-12377.41.6/bsd/kern/ |
| H A D | kern_mib.c | 195 SYSCTL_NODE(, CTL_HW, hw, CTLFLAG_RW | CTLFLAG_LOCKED, 0,
|
| /xnu-12377.41.6/makedefs/ |
| H A D | MakeInc.top | 301 MEMORY_SIZE := $(shell /usr/sbin/sysctl -n hw.memsize)
|
| /xnu-12377.41.6/tests/ |
| H A D | stackshot_tests.m | 2489 T_META_REQUIRES_SYSCTL_EQ("hw.optional.arm64", 1), 2523 sysctlbyname("hw.nperflevels", &nperflevels, &nperflevels_sz, NULL, 0), 2524 "get hw.nperflevels");
|