freebsd_amp_hwpstate/lib/libc
Bruce Evans 912e603778 Implemented non-statistical kernel profiling. This is based on
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.
1995-12-29 15:30:05 +00:00
..
amd64
compat-43
db
gen Don't block SIGINT in getpass(3); this doesn't make sense. 1995-12-27 23:23:00 +00:00
gmon Implemented non-statistical kernel profiling. This is based on 1995-12-29 15:30:05 +00:00
i386 Be smarter about handling overlapped copies and only go backwards if it 1995-12-27 18:47:45 +00:00
locale Oops. I seem to have over-corrected with my last commit. It should be 1995-12-29 08:23:59 +00:00
net Add NIS support to getservent(3) functions (getservbyport() and getservbyname() 1995-11-04 19:07:27 +00:00
nls
quad Added prototypes. 1995-12-26 13:25:13 +00:00
regex
rpc Fix minor annoyance: have clnt_perror(), clnt_perrno() and 1995-12-10 17:40:18 +00:00
stdio
stdlib Added prototypes. 1995-12-26 13:25:13 +00:00
stdtime
string
sys Document recent changes in socket buffers and listen(2). 1995-11-03 18:34:38 +00:00
xdr
yp Clean up a few things left dangling after the last commit. The new 1995-12-15 03:26:40 +00:00
Makefile