Searched refs:cacheconfig (Results 1 - 2 of 2) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kern_mib.c | 130 static uint64_t cacheconfig[10], cachesize[10]; variable 347 SYSCTL_OPAQUE (_hw, OID_AUTO, cacheconfig, CTLFLAG_RD, &cacheconfig, sizeof(cacheconfig), "Q", ""); 584 /* hw.cacheconfig */ 585 cacheconfig[0] = hinfo.max_cpus; 586 cacheconfig[1] = 1; 587 cacheconfig[2] = cachesize[2] ? 1 : 0; 588 cacheconfig[3] = cachesize[3] ? 1 : 0; 589 cacheconfig[ [all...] |
/macosx-10.5.8/xnu-1228.15.4/tools/tests/affinity/ |
H A D | sets.c | 292 int64_t cacheconfig[MAX_CACHE_DEPTH]; local 297 len = sizeof(cacheconfig); 298 if (sysctlbyname("hw.cacheconfig", 299 &cacheconfig[0], &len, NULL, 0) != 0) { 300 printf("Unable to get hw.cacheconfig, %d\n", errno); 314 if (cacheconfig[llc] != 0) 329 *nsets = cacheconfig[0]/cacheconfig[llc]; 331 cacheconfig[0], cacheconfig[ll [all...] |
Completed in 26 milliseconds