I am trying to profile a program using gprof. The point is that for some cases the program does not finish by itself but by using the Linux execution time limit. In this case the file 'gmon.out' is not generated.
I was wondering if there exists a way to get some kind of profiling information even in the case that the program finishes by timeout. As far as I read here it is not possible, so I would be thankfully for any comments or suggestions upon my problem.
Thanks in advance!