Home
last modified time | relevance | path

Searched refs:cacheconfig (Results 1 – 1 of 1) sorted by relevance

/external/cpuinfo/src/mach/
Dtopology.c56 uint64_t* cacheconfig = alloca(cacheconfig_size); in cpuinfo_mach_detect_topology() local
57 if (sysctlbyname("hw.cacheconfig", cacheconfig, &cacheconfig_size, NULL, 0) != 0) { in cpuinfo_mach_detect_topology()
66 cpuinfo_log_debug("mach hw.cacheconfig[%zu]: %"PRIu64, i, cacheconfig[i]); in cpuinfo_mach_detect_topology()
67 topology.threads_per_cache[i] = cacheconfig[i]; in cpuinfo_mach_detect_topology()