more problems with gprof

JSONCRAIG@aol.com JSONCRAIG@aol.com
Fri Nov 12 13:40:00 GMT 1999


Are -pg and gprof fully implemented in Mingw32?  I tried to profile a simple 
C program (compiling/linking with -pg, running it, running gprof) and it 
always says no time accumulated and 0% of the programs running time was spent 
in each function on the call graph.  Now, I know this can't be right because 
they were all called multiple times.  
gprof -i test.exe returns:
File `gmon.out' (version 0) contains:
        3 histogram record
        1 call-graph record
        0 basic-block count records <----- is this the problem?

Is it fully implemented or am I doing something wrong?

Thanks,
Jason Craig

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list