gpt4 book ai didi

c++ - 图形分析

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:01:05 27 4
gpt4 key购买 nike

我有一个应用程序下降到 10fps 左右。我使用 xperf 对其进行了分析,结果显示我的应用仅使用了 20% 的 CPU,而我的所有方法都没有使用超过预期的 20%。

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

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

最佳答案

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

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

还有一个 ATI 解决方案,称为“GPU PerfStudio”

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.

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

关于c++ - 图形分析,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/852254/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com