Search:

Type: Posts; User: MK27

Search: Search took 0.10 seconds.

  1. Replies
    11
    Views
    6,708

    Try adding it to CFLAGS.

    Try adding it to CFLAGS.
  2. Replies
    11
    Views
    6,708

    Oh yuck -- you need to contemplate my signature...

    Oh yuck -- you need to contemplate my signature Jeff. The gprof man page is one of many still used in the FIFTH CIRCLE OF HELL!!!
  3. Replies
    11
    Views
    6,708

    Okay, here's how to use gprof: 1) compile: gcc...

    Okay, here's how to use gprof:

    1) compile: gcc -pg -fprofile-arcs -ftest-coverage
    2) now run the executable once, this will create a file "gmon.out"
    3) then gprof -b ./a.out (or the exe name).
Results 1 to 3 of 3