I'm currently trying to get my head around profiling an OpenGL based Qt App.
I'd like to profile for performance on either OSX or Windows.
What profiling tools do you recommend, and are there any quick start guides for said tools?
Alright, hopefully this'll help someone out there.
Shark works just fine on OSX.
Shark guide - http://developer.apple.com/tools/sharkoptimize.html
Shark download - http://www.macupdate.com/app/mac/8506/apple-chud-tools
Note Shark is a profiler which is part of the Computer Hardware Understanding Developer Tools (CHUD Tools).
On windows, you can use "AMD code analyst":http://developer.amd.com/tools/codeanalyst/pages/default.aspx itr embeds into visual and produces very accurate results (it obviously works with intel CPU
We used that for opengl profiling with Qt just to see that the implementation on most platform of opengl was crappy (50% spent in graphic card driver on some Ati cards)
there were many disvussion about this topic before. For windows I know no free tools for profiling / memory checking. I know some commercial ones that are relly good, but also expensive....
have a look at this topics:
- "Other tools for Qt developement":http://developer.qt.nokia.com/forums/viewthread/2248/
- "Advice on checking for memory leaks and dangling resources?":http://developer.qt.nokia.com/forums/viewthread/1924
@florent Thanks for the suggestion, I'll give that a try now.
@Gerolf I was looking for performance profiling tools.
Theres lots of good tools for D3D; For OpenGL I would recommend you take a look at NVIDIA Nexus http://developer.nvidia.com/nvidia-parallel-nsight