1 | !7 |
2 | |
3 | JavaCPUPercentage of DynBigNumber: |
4 | setDescription("JAVA CPU %"); |
5 | setToolTip("Percentage is per core"); |
6 | transient field cpuMonitor = runDependent(#1001405); |
7 | doEvery(2.0, r actualUpdate); |
8 | |
9 | void actualUpdate: |
10 | setValue(iceil((double) call(cpuMonitor, 'getInProcessCPU)) + " %"); |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018568 |
Snippet name: | Java CPU % Ultra-Shortened [dev.] |
Eternal ID of this version: | #1018568/5 |
Text MD5: | 5c917fe401924cf4c9b3004101a06db5 |
Author: | stefan |
Category: | |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-09 10:38:29 |
Source code size: | 305 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 335 / 382 |
Version history: | 4 change(s) |
Referenced in: | [show references] |