Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

16
LINES

< > BotCompany Repo | #1017856 // System Load [Dyn Module]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (4589L/22K).

1  
!7
2  
3  
cmodule SystemLoad > DynBigNumber {
4  
  start {
5  
    setDescription("SYSTEM LOAD");
6  
    doEveryAndNow(4000, r actualUpdate);
7  
  }
8  
  
9  
  void actualUpdate {
10  
    //time "System Load" { usually <= 2 ms
11  
    double load = systemLoad();
12  
    vmBus_send systemLoad(load);
13  
    setValue(formatDoubleFull(load, 1));
14  
    //}
15  
  }
16  
}

Author comment

Began life as a copy of #1016598

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: #1017856
Snippet name: System Load [Dyn Module]
Eternal ID of this version: #1017856/8
Text MD5: 34176ac423038b1bff133265840a1f00
Transpilation MD5: f63950ec3a3be4785e0cc372c76b4aff
Author: stefan
Category: javax / modules
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-12-09 18:41:47
Source code size: 332 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 458 / 303466
Version history: 7 change(s)
Referenced in: [show references]