C++ Training: Using gprof

Profiling codes is a way to automatically calculate how much time is being spent in each function call in your program. This guide at the University of Michigan gives some great advice on how to use them. The program gprof, mentioned in the article, is available through Cygwin and the cluster.

Advertisements

2 thoughts on “C++ Training: Using gprof

  1. Pingback: C++ Training: Exercise 1 « Pat Reed Group Research Tips Blog

  2. Pingback: Water Programming Blog Guide (Part I) – Water Programming: A Collaborative Research Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s