Libraryless. Click here for Pure Java version (935L/7K/23K).
1 | !7 |
2 | |
3 | p-typewriter { |
4 | repeat { |
5 | float cpu = linux_cpuLoad()*numberOfCores(); |
6 | print(formatDouble(cpu, 1) + "% CPU"); |
7 | setConsoleTitle(iround(cpu) + "% CPU"); |
8 | } |
9 | } |
Began life as a copy of #1006505
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006512 |
Snippet name: | Show CPU load under Linux times cores [WORKS] |
Eternal ID of this version: | #1006512/1 |
Text MD5: | 8552af301a4bbd73dfd67b5fefcdbcb1 |
Transpilation MD5: | d226afaba5af13856ad6a7b42fb616f0 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-01-12 01:19:44 |
Source code size: | 179 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 406 / 510 |
Referenced in: | [show references] |