Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 2002 08:35:22 -0500 (EST)
From:      Russell Francis <frussell@p1.cs.ohiou.edu>
To:        freebsd-hackers@FreeBSD.org
Subject:   determining context switching?
Message-ID:  <Pine.GSO.3.96.1020329082538.25172A-100000@p2>

next in thread | raw e-mail | index | archive | help
I was wondering if there is a way to determine the context switching rate?

In /usr/include/sys/vmmeter.h the structure

struct vmmeter {
	u_int v_swtch;		/* context switches */
	.
	.
	.
}

looks like what I want but I can't find a function which returns this data
to a user land application.  Is this possible?  If so how?

Thank you much,
Russell Francis


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.1020329082538.25172A-100000>