libuv/src
Evan Lucas 87f0765159 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>
2020-08-04 21:18:32 +02:00
..
unix darwin: use IOKit for uv_cpu_info 2020-08-04 21:18:32 +02:00
win win,nfc: disable clang-format for #include order 2020-08-04 12:09:07 -04:00
fs-poll.c unix,win: fix uv_fs_poll_stop() when active 2019-05-06 15:02:01 +02:00
heap-inl.h heap: fix heap_remove() 2014-05-23 20:04:42 +04:00
idna.c unix,win: support IDNA 2008 in uv_getaddrinfo() 2018-10-30 20:50:23 +01:00
idna.h unix,win: support IDNA 2008 in uv_getaddrinfo() 2018-10-30 20:50:23 +01:00
inet.c unix: harden string copying, introduce strscpy() 2018-12-04 17:08:09 +01:00
queue.h unix: use QUEUE_MOVE when iterating over lists 2015-10-08 21:47:43 +02:00
random.c netbsd: use KERN_ARND sysctl to get entropy 2019-10-29 13:36:05 +01:00
strscpy.c unix: harden string copying, introduce strscpy() 2018-12-04 17:08:09 +01:00
strscpy.h unix: harden string copying, introduce strscpy() 2018-12-04 17:08:09 +01:00
threadpool.c unix,win: add uv_library_shutdown() 2020-04-22 12:24:36 +02:00
timer.c timer: remove redundant check in heap compare 2020-04-16 14:54:51 +02:00
uv-common.c core: add API to measure event loop idle time 2020-08-04 10:31:42 -04:00
uv-common.h core: add API to measure event loop idle time 2020-08-04 10:31:42 -04:00
uv-data-getter-setters.c test,sunos: fix statement not reached warnings 2019-03-16 13:22:16 -04:00
version.c core: add UV_VERSION_HEX macro 2015-06-29 23:08:41 +02:00