Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

template

C++ Profiling

This topic is 5351 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

What's a good way to profile C++ programs I write so that I can locate bottlenecks easily and eliminate them? Also, does anyone know any good ways to measure the overall efficiency of a program? Thanks in advance. EDIT: I'm writing console programs for doing heavy number crunching so I can't just do something like checking the frames per second. [edited by - template on February 21, 2004 1:19:30 PM]

Share this post


Link to post
Share on other sites
Advertisement
A good profiler is what you need. gprof gives you per function performance information.... AQtime (which isn''t free, but is very good) can give you per line performance information, to let you locate bottlenecks to within very small scopes.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!