Hi,

I have this issue 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 Program again.
5. gprof -s a.out gmon.out gmon.sum
6. Repeat 4 and 5 several times.

On repeating 4 and 5 again and again execution time taken for function
goes on increasing starting with 130 ms to 20 seconds on several attempts.

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