profiling in nto -- how?

Hi,

Q1:
how can i use “-p” flag of qcc?

Q2:
how do profiling in nto at all?

Thanks,
vasilii

  1. compile your app with profiling - use the ‘-p’ flag to qcc.
  2. run your app as root (important - the timers are priveleged so you need
    to be root)
  3. the result of this run will be a file in your pwd called ‘gmon.out’
  4. look at the profiled output with the command ‘gprof [your_app] | less’

cheers,

Kris

“vasilii” <vv40in@rambler.ru> wrote in message
news:acj0pb$t8p$1@inn.qnx.com

Hi,

Q1:
how can i use “-p” flag of qcc?

Q2:
how do profiling in nto at all?

Thanks,
vasilii

\