[PATCH] Rework how we store process times in the kernel and deferring calcru()

John Baldwin jhb at FreeBSD.org
Fri Oct 1 08:14:39 PDT 2004


On Friday 01 October 2004 11:02 am, John Baldwin wrote:
> I'll commit this soonish unless there are any objections.  The basic idea
> is to store process times resource usage as raw data (i.e. as bintimes and
> tick counts) for both process usage and child usage and only calculate the
> timeval style times if they are explicitly asked for.  This lets us avoid
> always calling calcru() to calculate the timeval values in exit1() for
> example.  A more detailed listing of the changes follows:

Sorry for the dupe.  kmail crashed and I wasn't sure the first one had made 
it, esp. given that it came back up with a partial version of this e-mail 
(hence the two different endings).

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-arch mailing list