http://bugs.winehq.org/show_bug.cgi?id=18705
--- Comment #11 from Anastasius Focht focht@gmx.net 2009-05-31 08:08:31 --- Hello,
looking at dlls/ntdll/nt.c maybe code similar to SystemProcessorPerformanceInformation can be used to retrieve the accumulated idle time for SystemPerformanceInformation info class from "/proc/stat" (only combined "idle time" is needed).
Although units do not really match (100-nanosecond intervals in Windows) the programs should be happy to see increasing value(s) ;-)
Regards