[Ilugc] Profiling a C program.

  • From: skarra@xxxxxxxxx (Sriram Karra)
  • Date: Thu Mar 13 04:38:32 2008

On Wed, Mar 12, 2008 at 6:30 PM, Logu <logulinux@xxxxxxx> wrote:

I am trying to profile a simple C program, but I am not getting correct
values under the  "cumulative seconds"  and "self seconds" column for the
functions. I always get them as 0.00.


One thing you could try - invoke the function more times, and average.
Perhaps the function is not clocking enough time to make an appreciable
impact. Just maybe...

Other related posts: