help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gprof summary error


From: rohith kumar s
Subject: gprof summary error
Date: 26 Nov 2004 05:37:22 -0000

Hi,

I am facing this problem with gprof. I am running my sample program in Red Hat Linux 8.0.

Steps followed :

1. Compile test program with -pg option.
2. Run program.
3. mv gmon.out to gmon.sum
4. run test program again.
5. gprof -s a.out gmon.out gmon.sum
6. Repeat 4 and 5 several times.

On repeating 4 and 5 steps execution time taken for function
goes on increasing starting with 130 ms to 20 seconds on several attempts. Test program contains only one function which needs to be profiled. It is doing memset operation of fixed bytes in a for loop.

Expectation was it will settle to a value after several runs and not increasing.

Could you please let me know if am missing anything.

thanks in advance

Regards,
Rohith




reply via email to

[Prev in Thread] Current Thread [Next in Thread]