diff options
author | kmacy <kmacy@FreeBSD.org> | 2006-11-11 03:18:07 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2006-11-11 03:18:07 +0000 |
commit | 9eefcf316159b161b2c6e5143a8991bcb7e63711 (patch) | |
tree | f43d5c4ecffd369fdc72c9807d30ffd296fd76f6 /usr.sbin/ppp/link.c | |
parent | cd277df0bb233f1107603284c3a160846855b3a1 (diff) | |
download | FreeBSD-src-9eefcf316159b161b2c6e5143a8991bcb7e63711.zip FreeBSD-src-9eefcf316159b161b2c6e5143a8991bcb7e63711.tar.gz |
MUTEX_PROFILING has been generalized to LOCK_PROFILING. We now profile
wait (time waited to acquire) and hold times for *all* kernel locks. If
the architecture has a system synchronized TSC, the profiling code will
use that - thereby minimizing profiling overhead. Large chunks of profiling
code have been moved out of line, the overhead measured on the T1 for when
it is compiled in but not enabled is < 1%.
Approved by: scottl (standing in for mentor rwatson)
Reviewed by: des and jhb
Diffstat (limited to 'usr.sbin/ppp/link.c')
0 files changed, 0 insertions, 0 deletions