开发者

CPU or GPU bound? profiling OpenGL application

开发者 https://www.devze.com 2023-02-10 03:07 出处:网络
I\'ve got an OpenGL application which I\'m afraid is GPU bound. How can I be sure that\'s the case? And if it is, 开发者_C百科how can I profile the code run by the GPU?I would also check it with AMD

I've got an OpenGL application which I'm afraid is GPU bound.

How can I be sure that's the case?

And if it is, 开发者_C百科how can I profile the code run by the GPU?


I would also check it with AMD GPU PerfStudio.

It will analyse your GPU and CPU usage and show relative load values.


If you are using Windows, Linux or Mac, (well, a computer!) give a try to gDEBugger.


If your OpenGL thread should uses less than one core you are not CPU bound. If you're running at 60Hz you're probably limited by vsync.


gDEBugger no longer supports OSX.. For OSX users (and perhaps other OS's) the Intel Graphics Performance Analyser might be worth a look

https://software.intel.com/en-us/gpa

Info here

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号