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

Bruce Evans bde at zeta.org.au
Sun Oct 3 01:04:42 PDT 2004


On Fri, 1 Oct 2004, 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:
> ...
> The patch is at http://www.freebsd.org/~jhb/patches/rusage_ext.patch and is
> largely based on a patch given to me by bde at .

Thanks for finishing this.

I will send private mail about one of the details.  Hope you don't get too
much mail :-).

Bruce


More information about the freebsd-arch mailing list