Home
last modified time | relevance | path

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

/external/cpuinfo/src/x86/
Dtopology.c48 const uint32_t cores_per_processor = 1 + (leaf0x80000008.ecx & UINT32_C(0x000000FF)); in cpuinfo_x86_detect_topology() local
49 topology->core_bits_length = bit_length(cores_per_processor); in cpuinfo_x86_detect_topology()
50 …g_debug("HTT: APIC ID = %08"PRIx32", cores per processor = %"PRIu32, apic_id, cores_per_processor); in cpuinfo_x86_detect_topology()
56 const uint32_t cores_per_processor = (leaf1.ebx >> 16) & UINT32_C(0x000000FF); in cpuinfo_x86_detect_topology() local
57 if (cores_per_processor != 0) { in cpuinfo_x86_detect_topology()
58 topology->core_bits_length = bit_length(cores_per_processor); in cpuinfo_x86_detect_topology()
60 …g_debug("HTT: APIC ID = %08"PRIx32", cores per processor = %"PRIu32, apic_id, cores_per_processor); in cpuinfo_x86_detect_topology()