I am trying to optimise the code I have developed. I have determined which
application is using all the CPU cycles using pidin. Now, I would like to
determine which subroutines are using the most CPU cycles. I am using “gcc”
to compile and create my objects, and I am using “ld” to link the objects
together with the Empress RDBMS libraries. I have tried using “-pg” to
generate output that can be used by gprof. This option works on the “gcc”
command line, but not on the “ld” command line.
Has anyone done profiling on QNX? If so, could you tell me how it was