监视图形卡使用情况 [英] Monitor the Graphics card usage

查看:81
本文介绍了监视图形卡使用情况的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在运行某个应用程序时,如何监视使用了多少图形卡?我想看看我的应用程序使用了多少GPU.

How can I monitor how much of the graphics card is used when I run a certain application? I want to see how much my application uses the GPU.

推荐答案

如果使用Visual Studio 2013和2015版本进行开发,则可以使用其GPU使用工具:

If you develop in Visual Studio 2013 and 2015 versions, you can use their GPU Usage tool:

  • GPU Usage Tool in Visual Studio (video) https://www.youtube.com/watch?v=Gjc5bPXGkTE
  • GPU Usage Visual Studio 2015 https://msdn.microsoft.com/en-us/library/mt126195.aspx
  • GPU Usage tool in Visual Studio 2013 Update 4 CTP1 (blog) http://blogs.msdn.com/b/vcblog/archive/2014/09/05/gpu-usage-tool-in-visual-studio-2013-update-4-ctp1.aspx
  • GPU Usage for DirectX in Visual Studio (blog) http://blogs.msdn.com/b/ianhu/archive/2014/12/16/gpu-usage-for-directx-in-visual-studio.aspx

MSDN的屏幕截图:

Screenshot from MSDN:

此外,似乎您可以用它诊断任何应用程序,不仅是Visual Studio项目:

Moreover, it seems you can diagnose any application with it, not only Visual Studio Projects:

除了Visual Studio项目之外,您还可以在任何闲置的.exe应用程序上收集GPU使用情况数据.只需在Visual Studio中打开可执行文件作为解决方案,然后启动诊断会话,即可将其与GPU的使用作为目标.这样,如果您使用某种类型的引擎或替代开发环境,只要最终获得可执行文件,您仍然可以在其上收集数据.

In addition to Visual Studio projects you can also collect GPU usage data on any loose .exe applications that you have sitting around. Just open the executable as a solution in Visual Studio and then start up a diagnostics session and you can target it with GPU usage. This way if you are using some type of engine or alternative development environment you can still collect data on it as long as you end up with an executable.

来源: http://blogs.msdn.com/b/ianhu/archive/2014/12/16/gpu-usage-for-directx-in-visual-studio.aspx

这篇关于监视图形卡使用情况的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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