This repository has been archived by the owner on May 4, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. Fixes #526.
- Loading branch information
1 parent
f4f294f
commit 54bfb66
Showing
1 changed file
with
155 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters