这似乎表明fps的大幅下降是因为显卡无法跟上渲染帧,导致我的程序在赶上时停止…
有没有办法分析显卡是什么,并找出我的程序告诉它做什么减慢速度,以便我可以尝试提高帧速率?
解决方法
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/