我真的很困惑.我想创建一个应用程序,在我的显卡的不同温度下执行不同的事件,这是AMD的.
我想制作这样一个应用程序的原因是因为,对于GPU我还没有找到一个,第二个是确保我永远不会因为达到巨大的温度而炒我的卡.
但是我不知道人们(没有连接到amd / intel / nvidia)如何编写应用程序来监控任何类型的温度.
那怎么回事?一些我不知道的API或什么?
经过一段谷歌搜索后,我发现了这个:
I think this is really vendor specific,it will probably involve interfacing directly with the motherboard or video driver and knowing which IOCTL represents the code for requesting the temperature. I reverse engineered a motherboard driver once for this purpose. It’s not as hard as it sounds,download a manufacturer motherboard/BIOS utility and try to hook the function that gets called when that app needs to display the temperature to the user. Then watch for a call to DeviceIoControl() in Windows,or ioctl() in linux and see what the inputs / outputs are.
这可能是你最好的选择.我在这里找到了这个信息:
http://www.gamedev.net/topic/557599-get-gpucpu-temperature/
编辑:
还发现了这个:
http://msdn.microsoft.com/en-us/library/aa389762%28v=VS.85%29.aspx
http://msdn.microsoft.com/en-us/library/aa394493%28VS.85%29.aspx
希望能帮助到你.