win32api.GetSystemCpuSetInformation
list = GetSystemCpuSetInformation()
Returns CPU Set information for all logical processors.
Comments
This function retrieves CPU topology information including efficiency class (P-core vs E-core),
scheduling class, NUMA node, cache topology, and processor state flags.
Win32 API References
Search for GetSystemCpuSetInformation at msdn, google or google groups.
Return Value
A list of PySYSTEM_CPU_SET_INFORMATION
objects, one for each logical processor.