Red Hat Bugzilla – Bug 14380
cpu time for multithreaded application
Last modified: 2008-08-01 12:22:51 EDT
The POSIX times() function only measures the system time of the master thread and does not take into account any time for the child threads.
This is a kernel issue, still present in the 2.5 kernels.
Created attachment 91222 [details]
Test case for times() not receiving info from other threads
The program prints currently something like
1050971188: clock 430949932, utime 0, stime 0
1050971189: clock 430950032, utime 0, stime 0
But the utime value should increase based on how much CPU time the two threads
Thanks for the bug report. However, Red Hat no longer maintains this version of
the product. Please upgrade to the latest version and open a new bug if the problem
The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases,
and if you believe this bug is interesting to them, please report the problem in
the bug tracker at: http://bugzilla.fedora.us/