On Nov 6, 3:02 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> > On the problem PCs, both of these methods give me the same information
> > (i.e. only the processor name). However, if I go to "System
> > Properties" and look at the "General" tab, it lists the CPU name and
> > processor speed. Does anyone else know of another way to get at this
> > information?
>
> I'm not sure whether it is *this* information, but you can use
> NtQuerySystemInformation, with a class parameter of
> SystemProcessorPowerInformation, and passing
> SYSTEM_PROCESSOR_POWER_INFORMATION as the buffer. That gives,
> among others, a value CurrentFrequency (along with LastBusyFrequency,
> LastC3Frequency, and ThermalLimitFrequency).
>
> This usage of NtQuerySystemInformation is undocumented.
>
> Regards,
> Martn

Is this a WMI function or a PyWin32 function?  I guess I'm not seeing
how to actually implement this in Python. Sounds intriguing though.

Mike

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to