Searched refs:hw (Results 1 – 9 of 9) sorted by relevance
| /xnu-11215.81.4/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-11215.81.4/ |
| 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-11215.81.4/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-11215.81.4/osfmk/arm64/ |
| H A D | cpc_arm64_events.c | 56 _cpc_select_event(cpc_hw_t hw, uint16_t selector) in _cpc_select_event() argument 58 assert(hw < CPC_HW_COUNT); in _cpc_select_event() 59 const struct cpc_event_list *list = _cpc_known_events[hw]; in _cpc_select_event() 92 cpc_hw_t hw, in cpc_event_allowed() argument 106 return _cpc_select_event(hw, event_selector) != NULL; in cpc_event_allowed()
|
| /xnu-11215.81.4/tools/tests/execperf/ |
| H A D | test.sh | 43 for j in `jot $(sysctl -n hw.ncpu) 1`; do
|
| /xnu-11215.81.4/makedefs/ |
| H A D | MakeInc.top | 301 MEMORY_SIZE := $(shell /usr/sbin/sysctl -n hw.memsize)
|
| /xnu-11215.81.4/bsd/kern/ |
| H A D | kern_mib.c | 189 SYSCTL_NODE(, CTL_HW, hw, CTLFLAG_RW | CTLFLAG_LOCKED, 0,
|
| /xnu-11215.81.4/tests/ |
| H A D | stackshot_tests.m | 2322 T_META_REQUIRES_SYSCTL_EQ("hw.optional.arm64", 1), 2368 sysctlbyname("hw.nperflevels", &nperflevels, &nperflevels_sz, NULL, 0), 2369 "get hw.nperflevels");
|