I just got through playing around with Gprof and my results seem to be nonsensical. The program, a directory lister, ran for about ten seconds and then exited normally. The gmon.out file appeared and I ran it through Gprof. The problem is that the results only show the program running for 0.02 seconds. I am doing all of this under windows and I was wondering if that perhaps is the problem.
Thanks in advance for the help,