Re: better resolution for getrusage()?

Rogier Wolff (r.e.wolff@et.tudelft.nl)
Thu, 29 Feb 1996 15:11:41 +0100


Ben Wing wrote:
>
> It would sure be nice if getrusage() had microsecond resolution like
> gettimeofday() did. How hard would this be to add?

Very.

Moreover the overhead would be significant. The guts of a
gettimeofday() call takes around 17us. On the other had this might
be worth it for some people.....

Roger.

-- 
 ** Q: What's the difference between MicroSoft Windows and a virus?       **
 ** A: Apart from the fact that virusses are supported by their authors,  **
 **  use optimized, small code and usually perform well, none.            **
 ** EMail: R.E.Wolff@et.tudelft.nl * Tel +31-15-2783643 or +31-15-2137459 **
 *** <a href="http://einstein.et.tudelft.nl/~wolff/">my own homepage</a> ***