以编程方式提取GPU利用率 [英] Programmatically fetch GPU utilization

查看:1425
本文介绍了以编程方式提取GPU利用率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有标准的方式获取GPU上的当前负载?我正在寻找类似于任务管理器显示CPU%。实用工具,如GPU-Z显示这个值,但我不知道如何得到这个。我目前特别感兴趣的是AMD显卡,任何指针都会有所帮助。

Is there a standard way of getting the current load on the GPU? I'm looking for something similar to the Task Manager showing CPU%. Utilities such as GPU-Z show this value but I'm not sure how it gets this. I'm specifically interested in AMD graphics cards at the moment, any pointers would be helpful.

如果没有干净的API方法,有没有任何程序的输出我可以捕获以获得这个信息?

If there's no clean API way of doing it, are there any programs whose output I can capture to get this info?

推荐答案

对于AMD / ATI卡,请查看GPU PerfStudio。 http://developer.amd.com/gpu/Pages/default.aspx

For AMD/ATI cards, check out GPU PerfStudio. http://developer.amd.com/gpu/Pages/default.aspx

对于NVidia卡,请看PerfHUD。 http://developer.nvidia.com/object/nvperfhud_home.html

For NVidia cards, look at PerfHUD. http://developer.nvidia.com/object/nvperfhud_home.html

在MS的DirectX SDK中还有一个更通用的工具,称为Pix,它与这些工具部分重叠。

There is also a more generic tool in the DirectX SDK from MS called Pix that overlaps partially with these tools.

AFAIK没有办法就像一个简单的% - 使用GPU的GPU,因为它不是那么简单。但是这些工具将有助于调试和分析GPU中发生了什么。 ATI和NVidia都提供公开文档,并提供了建议的步骤来查找和修复特定类型的GPU瓶颈。

AFAIK there's no way to get something as simple as a %-use number for the GPU because it isn't that simple. But these tools will help in debugging and profiling what's going on in the GPU. Both ATI and NVidia provide public documentation with recommended steps to find and fix specific types of GPU bottlenecks.

这篇关于以编程方式提取GPU利用率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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