Searched refs:cachesize (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 348 SYSCTL_OPAQUE (_hw, OID_AUTO, cachesize, CTLFLAG_RD, &cachesize, sizeof(cachesize), "Q", ""); 577 /* hw.cachesize */ 578 cachesize[0] = max_mem; 579 cachesize[1] = cpu_info.l1_dcache_size; 580 cachesize[2] = cpu_info.l2_settings ? cpu_info.l2_cache_size : 0; 581 cachesize[3] = cpu_info.l3_settings ? cpu_info.l3_cache_size : 0; 582 cachesize[ [all...] |
/macosx-10.5.8/xnu-1228.15.4/tools/tests/affinity/ |
H A D | sets.c | 293 int64_t cachesize[MAX_CACHE_DEPTH]; local 303 len = sizeof(cachesize); 304 if (sysctlbyname("hw.cachesize", 305 &cachesize[0], &len, NULL, 0) != 0) { 306 printf("Unable to get hw.cachesize, %d\n", errno); 321 *nbufs = cachesize[llc] * 9 / (npages * 4096 * 10); 324 llc, cachesize[llc], *nbufs, (npages * 4096));
|
Completed in 24 milliseconds