Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jan 2011 17:11:34 -0800 (PST)
From:      Mark Terribile <materribile@yahoo.com>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: rusage and pthreads
Message-ID:  <770595.89021.qm@web110305.mail.gq1.yahoo.com>
In-Reply-To: <9319A30D-9AC6-46BB-B7EE-A476C88A05ED@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
=0AChuck,=0A=0AI forgot to add:=0A=0A> Nope.=A0 statclock() is fired off pe=
riodically (with=0A> some fuzz, to avoid clever games by processes trying t=
o=0A> avoid being sampled) to update the stats for the currently=0A> runnin=
g process.=0A=0AWhich would mean that a process that is occupying memory bu=
t doesn't happen to be running on that clock tick doesn't have its memory c=
ounted toward the total ... right?=0A=0A    Mark=0A=0A=0A      



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