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

查看:146
本文介绍了以编程方式获取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。 <一href="http://developer.amd.com/gpu/Pages/default.aspx">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。 <一href="http://developer.nvidia.com/object/nvperfhud_home.html">http://developer.nvidia.com/object/nvperfhud_home.html

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

还有一个在DirectX SDK从MS一个比较通用的工具,叫做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的事情。 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天全站免登陆