diff options
author | kmacy <kmacy@FreeBSD.org> | 2007-02-26 08:26:44 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2007-02-26 08:26:44 +0000 |
commit | 6508c4f27bec4ddc3e098c59b24d6760e5db774d (patch) | |
tree | 329dd33524baa0ad9fe43f498498a2d120152d0d /gnu | |
parent | 01ee9020b350e550aa823f81efbe79cba3e5cb58 (diff) | |
download | FreeBSD-src-6508c4f27bec4ddc3e098c59b24d6760e5db774d.zip FreeBSD-src-6508c4f27bec4ddc3e098c59b24d6760e5db774d.tar.gz |
general LOCK_PROFILING cleanup
- only collect timestamps when a lock is contested - this reduces the overhead
of collecting profiles from 20x to 5x
- remove unused function from subr_lock.c
- generalize cnt_hold and cnt_lock statistics to be kept for all locks
- NOTE: rwlock profiling generates invalid statistics (and most likely always has)
someone familiar with that should review
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions