Searched refs:cachesize (Results 1 - 2 of 2) sorted by relevance
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_mib.c | 132 static uint64_t cacheconfig[10], cachesize[10]; variable 350 SYSCTL_OPAQUE (_hw, OID_AUTO, cachesize, CTLFLAG_RD | CTLFLAG_LOCKED, &cachesize, sizeof(cachesize), "Q", ""); 548 /* hw.cachesize */ 549 cachesize[0] = ml_cpu_cache_size(0); 550 cachesize[1] = ml_cpu_cache_size(1); 551 cachesize[2] = ml_cpu_cache_size(2); 552 cachesize[3] = ml_cpu_cache_size(3); 553 cachesize[ [all...] |
/darwin-on-arm/xnu/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 13 milliseconds