Files
bun.sh/src/bun.js
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
..
2023-02-03 17:04:47 -08:00
2023-01-31 17:55:16 -08:00
2023-01-16 12:49:57 -08:00
2023-01-24 00:14:59 -08:00
2023-02-03 11:50:23 -08:00
2023-01-29 01:26:16 -08:00
2023-02-03 16:39:16 -08:00
2023-01-31 17:55:16 -08:00
2023-01-22 21:22:46 -08:00
2023-01-31 17:55:16 -08:00
2023-01-31 17:55:16 -08:00
2023-02-01 19:22:29 -08:00
🪦
2023-01-27 03:53:01 -08:00
2023-02-01 00:52:45 -08:00
2023-01-31 17:55:16 -08:00
2023-01-31 17:51:36 -08:00
2023-01-31 17:55:16 -08:00
2023-01-31 17:55:16 -08:00
2023-01-31 15:17:39 -08:00
2023-01-20 02:19:23 -08:00
2023-01-31 17:55:16 -08:00
2023-01-31 17:55:16 -08:00