ntdll: Don't read current CPU frequency on Linux.
commitb37371bf20be58ee7bd0b63dbac15b474873bc86
authorMatteo Bruni <mbruni@codeweavers.com>
Fri, 24 Jul 2020 09:14:05 +0000 (24 11:14 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 24 Jul 2020 16:26:18 +0000 (24 18:26 +0200)
tree0d3bf42141e57a4f89becc8f698fd7f29a5da3ae
parentd18b5669952bf1639be78fd699310231d4de0259
ntdll: Don't read current CPU frequency on Linux.

On the Linux boxes I tested, reading scaling_cur_freq usually takes
about 12 ms per core.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47128
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/ntdll/unix/system.c