Subject: Re: i386-current page fault trap in profiled code
To: john heasley <heas@shrubbery.net>
From: David Laight <david@l8s.co.uk>
List: port-i386
Date: 11/12/2002 08:12:32
> though the numbers dont seem to be kosher. the number of calls look
> good, but i dont believe the times.
There are 2 things (at least) that stop getrusage returning the correct
values:
1) The process state (in exit) is changed too early
2) No time is returned is the process was not interrupted by
a timer tick.
Both are trivially fixable see kern/18085.
David
--
David Laight: david@l8s.co.uk