profiler

Jim Bennett bennett at sgi.com
Tue Dec 11 05:25:23 AEST 1990


In article <1990Dec5.005445.21368 at jarvis.csri.toronto.edu> corkum at csri.toronto.edu (Brent Thomas Corkum) writes:
>A quick question, is there a profiler available for a C program
>running on a 4D/25. The profiler being a transparent process, meaning
>I don't want to place function calls within my program, that will tell me
>the amount of cpu time spent in each function within a program.
>
>If there isn't, what do programmers use to tackle such a question?
>
>Brent Corkum
>corkum at boulder.civ.toronto.edu

See pixie(1).  It fixes up your binary with basic block counters.

Ther other profiler is profil(2).  It samples your PC at 10 millisecond
intervals, but you have to put the call to profil explicitly in your
program to enable the PC sampling.

Jim Bennett				(bennett at esd.sgi.com)



More information about the Comp.sys.sgi mailing list