[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nptl] NPTL Issue getrusage() / times



Hello,

accordingly to SUSv3, getrusage() and times() should return the timing 
(user and system time) information for the *process*. That is the sum 
over all thread's time.

With NPTL, the timing is thread-wise only. That is, the timing is given 
only for the thread that calls getrusage(), resp. times(). This deviates 
from SUSv3.

I would definitively keep that neat feature of obtaining timing 
thread-wise, but not with the standard getrusage(), resp. times().

If you like, I can devise a test program proving my claim.


With Regards,
Loic.
Liste de diffusion nptl
Pour se désinscrire : mailto:nptl_request@bullopensource.org?subject=unsubscribe