Home
last modified time | relevance | path

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

/external/cpuinfo/src/x86/mach/
Dinit.c136 uint32_t threads_per_l2 = 0, l2_count = 0; in cpuinfo_x86_mach_init() local
138 threads_per_l2 = mach_topology.threads_per_cache[2]; in cpuinfo_x86_mach_init()
139 if (threads_per_l2 == 0) { in cpuinfo_x86_mach_init()
142 threads_per_l2 = mach_topology.threads / mach_topology.cores; in cpuinfo_x86_mach_init()
145 threads_per_l2 = mach_topology.threads / mach_topology.packages; in cpuinfo_x86_mach_init()
148 threads_per_l2); in cpuinfo_x86_mach_init()
150 l2_count = mach_topology.threads / threads_per_l2; in cpuinfo_x86_mach_init()
250 .processor_start = c * threads_per_l2, in cpuinfo_x86_mach_init()
251 .processor_count = threads_per_l2, in cpuinfo_x86_mach_init()
255 processors[t].cache.l2 = &l2[t / threads_per_l2]; in cpuinfo_x86_mach_init()
/external/cpuinfo/src/arm/mach/
Dinit.c464 uint32_t threads_per_l2 = 0, l2_count = 0; in cpuinfo_arm_mach_init() local
467 threads_per_l2 = mach_topology.cores; in cpuinfo_arm_mach_init()
543 .processor_start = c * threads_per_l2, in cpuinfo_arm_mach_init()
544 .processor_count = threads_per_l2, in cpuinfo_arm_mach_init()