libuv/src
Ben Noordhuis 9a4838110d linux: improve /proc/cpuinfo parser
Make uv_cpu_info() understand the ARM and MIPS versions of /proc/cpuinfo,
it only knew how to deal with the x86 version

This commit also fixes a buglet where uv_cpu_info() reported the maximum CPU
frequency instead of the actual CPU frequency. That is, before this commit
`out/Debug/run-tests platform_output | grep speed | sort | uniq -c` on my
system always reported:

      8   speed: 3400

Now it reports (for example):

      2   speed: 3400
      6   speed: 1600

In other words, two CPUs are running at full speed while the others have been
scaled back because they're mostly idle.

This is a back-port of commit 54bfb66 from the master branch.

Fixes #526.
2012-09-15 19:10:41 +02:00
..
ares Prepare libuv for shared library build 2011-10-29 00:52:32 +02:00
unix linux: improve /proc/cpuinfo parser 2012-09-15 19:10:41 +02:00
win win/tty: reset background brightness when color is set to default 2012-09-14 17:50:45 +02:00
cares.c Move shared c-ares glue code from uv-common to cares.c 2012-05-22 16:11:23 +02:00
fs-poll.c unix, windows: fix memory corruption in fs-poll.c 2012-08-20 17:13:27 +02:00
uv-common.c unix, windows: add debug mode handle printer 2012-06-06 04:25:12 +02:00
uv-common.h unix, windows: share uv__handle_init() 2012-06-13 01:28:58 +02:00