aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorEvan Lucas <evanlucas@me.com>2020-08-04 21:18:26 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2020-08-04 21:18:32 +0200
commit87f076515937345fda1a1dbc598f34e65e1b81c7 (patch)
treeabb02a96186b6f27695bb69f3c9c8cd09c3e5501 /docs/src
parentcc506dd97c7348abb54ef5c51eb563e1b512b45f (diff)
downloadlibuv-87f076515937345fda1a1dbc598f34e65e1b81c7.tar.gz
libuv-87f076515937345fda1a1dbc598f34e65e1b81c7.zip
darwin: use IOKit for uv_cpu_info
This switches uv_cpu_info from using sysctlbyname to using IOKit to get the speed of the processors. macOS on ARM does not currently have the hw.cpufrequency sysctl. We are able to reliable get the clock frequency on all architectures by using IOKit. Fixes: https://github.com/libuv/libuv/issues/2911 PR-URL: https://github.com/libuv/libuv/pull/2914 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions