Archived

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

C++ Profiling

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