Sign in to follow this  
ajm113

Any tools for debugging performance? (C++)

Recommended Posts

ajm113    355
I'm getting some lag in my game I made in OpenGL, VS2008 C++, but I can't really point out what function or for loop is slowing down my game that's taking a bit to calculate. What are some C++ tips or tools I can use on VS2008 or 3rd Party application to tell me performance on a function, to assist me on finding what's taking time to calculate? I even I'm using multithreading for a function to help performance, but it's not doing much to performance witch this for loop would only go 256 times just for a if statement that determines when to assign or update variables. Thank you, I hope your recommendations work! -Ajm

Share this post


Link to post
Share on other sites
jyk    2094
For profiling, you might take a look at AMD CodeAnalyst. It's free, and although some features will only work on machines with AMD processors, the time-based profiling feature should work with any processor (AFAIK, at least).

Share this post


Link to post
Share on other sites
Zahlman    1682
What you call "debugging performance" is usually referred to as "profiling". That might help your Googling. :)

Share this post


Link to post
Share on other sites
ajm113    355
I can't figure out how to use Code Analyst with VS2008. It doesn't show stats of the source code's hot spots anywhere.

Even trying VS2008 Analyze menu doesn't seem to show where I can use it's profiler.

Share this post


Link to post
Share on other sites
PolyVox    712
Quote:
Original post by spookycat
Grab a trail copy of VTune from Intel.


Seconded... I downloaded the 30 day evaluation last week and it's very interesting to see the results! I won't be optimising without it again :-)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this