summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/link.c
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2006-11-11 03:18:07 +0000
committerkmacy <kmacy@FreeBSD.org>2006-11-11 03:18:07 +0000
commit9eefcf316159b161b2c6e5143a8991bcb7e63711 (patch)
treef43d5c4ecffd369fdc72c9807d30ffd296fd76f6 /usr.sbin/ppp/link.c
parentcd277df0bb233f1107603284c3a160846855b3a1 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud