加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

c – 图形分析

发布时间:2020-12-16 05:07:14 所属栏目:百科 来源:网络整理
导读:我有一个应用程序,下降到10fps左右.我使用xperf对其进行了分析,结果显示我的应用程序只使用了20%的CPU,而我的方法都没有使用超过20%的预期数量. 这似乎表明fps的大幅下降是因为显卡无法跟上渲染帧,导致我的程序在赶上时停止… 有没有办法分析显卡是什么,并
我有一个应用程序,下降到10fps左右.我使用xperf对其进行了分析,结果显示我的应用程序只使用了20%的CPU,而我的方法都没有使用超过20%的预期数量.

这似乎表明fps的大幅下降是因为显卡无法跟上渲染帧,导致我的程序在赶上时停止…

有没有办法分析显卡是什么,并找出我的程序告诉它做什么减慢速度,以便我可以尝试提高帧速率?

解决方法

要调试/分析图形,请尝试Nvidia PerfHUD

NVIDIA PerfHUD is a powerful real-time performance analysis tool for Direct3D applications.

还有一种名为’GPU PerfStudio’的ATI解决方案

GPU PerfStudio is a real-time performance analysis tool which has been designed to help tune the graphics performance of your DirectX 9,DirectX 10,and OpenGL applications. GPU PerfStudio displays real-time API,driver and hardware data which can be visualized using extremely flexible plotting and bar chart mechanisms. The application being profiled maybe executed locally or remotely over the network. GPU PerfStudio allows the developer to override key rendering states in real-time for rapid bottleneck detection. An auto-analysis window can be used for identifying performance issues at various stages of the graphics pipeline. No special drivers or code modifications are needed to use GPU PerfStudio.

您可以在此处找到更多信息和下载链接:

> http://developer.nvidia.com/object/nvperfhud_home.html
> http://developer.amd.com/tools-and-sdks/graphics-development/gpu-perfstudio/

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读