Sign in to follow this  

Any tools for debugging performance? (C++)

This topic is 3149 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
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
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
Quote:
Original post by ajm113
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.

You have to have the Team Suite or Development Edition if you want to do profiling.

Share this post


Link to post
Share on other sites
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

This topic is 3149 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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