On Wed, 15 Oct 2014 20:18:10 +0200, Mark Kettenis wrote: > Shouldn't this do a tuagg() on all the threads of the process like we > do for getrusage? Otherwise the CLOCK_VIRTUAL and CLOCK_PROF clocks > will only be updated upon a context switch.
Probably. I wasn't 100% sure going the rusage route was the correct one. > Also, you should add support for these to clock_getres(2). Good catch. - todd