Find out the current frequency of the CPU

好久不见. 提交于 2020-01-04 08:28:27

问题


The Windows 8 Task manager shows the current (not maximum) frequency of the CPU (e.g. 1.2 GHz). Is there a way to get this frequency with the Windows API? Preferrably using Delphi or Visual C++.


回答1:


I would look into WMI, specifically, the CurrentClockSpeed property of the Win32_Processor class.

MSDN link



来源:https://stackoverflow.com/questions/14916327/find-out-the-current-frequency-of-the-cpu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!