Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 1
    From the doc it appears that invoking the -g/-pg option will cause the program to run "slower than normal". Also, it appears that gprof can't provide real-time feedback to the process. Commented Feb 23, 2012 at 22:13
  • 2
    Anything you add to monitor your process is going to make it run "slower than normal". Why is it that you need real-time feedback? Commented Feb 23, 2012 at 22:27
  • Some overhead is okay, but it would be nice to have as minimal impact as possible. The reason im looking for realtime feedback is because there are some components of the program that are "soft realtime" constrained and it would be nice to defer/kill some tasks if the cpu is overloading Commented Feb 23, 2012 at 23:49