找出CPU的当前频率 [英] Find out the current frequency of the CPU

查看:82
本文介绍了找出CPU的当前频率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windows 8任务管理器显示CPU的当前(不是最大)频率(例如1.2 GHz)。是否可以通过Windows API获得这种频率?最好使用Delphi或Visual C ++。 Win32_Processor 类的code>属性。



MSDN链接


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++.

解决方案

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

MSDN link

这篇关于找出CPU的当前频率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆