mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 06:12:46 +00:00
912e603778
looking at a high resolution clock for each of the following events: function call, function return, interrupt entry, interrupt exit, and interesting branches. The differences between the times of these events are added at appropriate places in a ordinary histogram (as if very fast statistical profiling sampled the pc at those places) so that ordinary gprof can be used to analyze the times. gmon.h: Histogram counters need to be 4 bytes for microsecond resolutions. They will need to be larger for the 586 clock. The comments were vax-centric and wrong even on vaxes. Does anyone disagree? gprof4.c: The standard gprof should support counters of all integral sizes and the size of the counter should be in the gmon header. This hack will do until then. (Use gprof4 -u to examine the results of non-statistical profiling.) config/*: Non-statistical profiling is configured with `config -pp'. `config -p' still gives ordinary profiling. kgmon/*: Non-statistical profiling is enabled with `kgmon -B'. `kgmon -b' still enables ordinary profiling (and distables non-statistical profiling) if non-statistical profiling is configured. |
||
---|---|---|
.. | ||
adddi3.c | ||
anddi3.c | ||
ashldi3.c | ||
ashrdi3.c | ||
bcmp.c | ||
cmpdi2.c | ||
divdi3.c | ||
ffs.c | ||
fnmatch.c | ||
inet_ntoa.c | ||
iordi3.c | ||
libkern.h | ||
locc.c | ||
lshldi3.c | ||
lshrdi3.c | ||
mcount.c | ||
moddi3.c | ||
muldi3.c | ||
negdi2.c | ||
notdi2.c | ||
qdivrem.c | ||
qsort.c | ||
quad.h | ||
random.c | ||
rindex.c | ||
scanc.c | ||
skpc.c | ||
strcat.c | ||
strcmp.c | ||
strcpy.c | ||
strlen.c | ||
strncmp.c | ||
strncpy.c | ||
strsep.c | ||
strtol.c | ||
subdi3.c | ||
ucmpdi2.c | ||
udivdi3.c | ||
umoddi3.c | ||
xordi3.c |