Uses 911K of libraries. Click here for Pure Java version (5967L/31K).
!7 compact module CPUBurner > DynSingleFunctionWithPrintLog { double seconds = 60.0; void doIt { dm_action("Burning 1 core for " + n2(seconds, "second") + "...", r { burnCPUForNSeconds(seconds); print("Done!"); }); } }
download show line numbers debug dex old transpilations
Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1019891 |
| Snippet name: | CPU Burner [simulate CPU load] |
| Eternal ID of this version: | #1019891/3 |
| Text MD5: | 77721c9abcb49e415d3b00c26408de72 |
| Transpilation MD5: | 23bf73be891ef47a9fdc8f7b21645e1d |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code (Dynamic Module) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-01-03 17:04:11 |
| Source code size: | 259 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 777 / 14622 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |