[Bug 26785] New: SIV incorrectly reports the same CPU time usage for all it's threads
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Apr 15 06:08:01 CDT 2011
http://bugs.winehq.org/show_bug.cgi?id=26785
Summary: SIV incorrectly reports the same CPU time usage for
all it's threads
Product: Wine
Version: 1.3.17
Platform: x86
URL: http://rh-software.com/
OS/Version: Linux
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: ntdll
AssignedTo: wine-bugs at winehq.org
ReportedBy: ray at pobox.co.uk
Created an attachment (id=34125)
--> (http://bugs.winehq.org/attachment.cgi?id=34125)
Screen Image showing the same CPU time for all threads
I thought this was a bug in SIV and have been trying to fix it, but it
transpires that GetThreadTimes() is implemented by Wine using the times()
function which returns the process rather than the thread CPU times.
The code is line 942 in ntdll/threads.c and is times(&time_buf);
I would like to try and generate a patch to fix this, but I have thus far
failed to find a portable *nix function to use. Please can someone point me in
the right direction?
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list