c – 图形分析

前端之家收集整理的这篇文章主要介绍了c – 图形分析前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我有一个应用程序,下降到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/

原文链接:https://www.f2er.com/c/444627.html

猜你在找的C&C++相关文章