Files
bun.sh/src/bun.js/node
Justin Whear a2fd20e5c0 Implement os.cpus() for Linux (#1977)
* Implement os.cpus() for Linux

`os.cpus()` currently returns an empty array for all platforms.  This PR implements full functionality for Linux and has been tested on x86-64.  Other OSes will continue to return an empty array.

Note that Linux on Arm64 may report the CPU model differently; if this is the case the CPU model will currently be reported as "unknown".  As I do not have Arm64 hardware to verify and develop against, a todo has been left in the code.

* resolve issues from review
2023-02-03 18:13:33 -08:00
..
2022-12-28 00:51:22 -08:00
2023-01-31 17:20:48 -08:00
2023-01-24 00:14:59 -08:00
2022-12-28 00:51:22 -08:00
2023-01-07 07:09:48 -08:00
2023-01-31 15:05:52 -08:00