Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Apr 2002 18:26:15 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        "Greg 'groggy' Lehey" <grog@FreeBSD.ORG>, arch@FreeBSD.ORG
Subject:   Re: mutex profiling 
Message-ID:  <14351.1017678375@critter.freebsd.dk>
In-Reply-To: Your message of "01 Apr 2002 18:10:38 %2B0200." <xzplmc72ydd.fsf@flood.ping.uio.no> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <xzplmc72ydd.fsf@flood.ping.uio.no>, Dag-Erling Smorgrav writes:
>How's this?
>
>des@des ~% sysctl -n debug.mutex.prof.all
>mutex                                             max        total        count
>kern/kern_fork.c:467                          6124730    162187907       986568
>i386/i386/machdep.c:1715                     10024515   2426296920       620041
>kern/vfs_syscalls.c:1692                        12998    118467144       281628

>(I didn't include average since it can be computed from total and
>count)

<BIKESHED>
I would include the average so that people can do

	sysctl -n debug.mutex.prof.all | sort +4rn

</BIKESHED>

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14351.1017678375>