How to detect the count of P & E cores in Intel CPUs?

yusuf 0 Reputation points
2025-03-27T04:14:46.97+00:00

Is there a programmatic way to detect the current P & E cores?

The Intel® Processor Identification Utility for the Intel® Core™ 12th generation and newer shows the number of the P-Cores and E-Cores in the system.

https://www.intel.com/content/www/us/en/support/articles/000097881/processors.html#:~:text=Use%20the%20Intel%C2%AE%20Processor,12th%20generation%20and%20newer%20processors.

 

Please help me for how to detect the same in a programmatical way.

Sysinternals
Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
1,220 questions
{count} votes

1 answer

Sort by: Most helpful
  1. kristianp 0 Reputation points
    2025-03-31T00:21:02.0766667+00:00

    The GetLogicalProcessorInformationEx function returns a struct SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX, which has an EfficiencyClass member. This is the info for the EfficiencyClass member:

    If the Relationship member of the SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX structure is RelationProcessorCore, EfficiencyClass specifies the intrinsic tradeoff between performance and power for the applicable core. A core with a higher value for the efficiency class has intrinsically greater performance and less efficiency than a core with a lower value for the efficiency class. EfficiencyClass is only nonzero on systems with a heterogeneous set of cores.

    It may be possible to obtain P and E core counts by using this information.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.