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

15
LINES

< > BotCompany Repo | #1019294 // Total Loaded Code [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 (4690L/23K).

1  
!7
2  
3  
cmodule TotalLoadedCode extends DynBigNumber {
4  
  start {
5  
    setDescription("LOADED CODE");
6  
    doEveryAndNow(10.0, r actualUpdate);
7  
  }
8  
  
9  
  void actualUpdate {
10  
    //time "Loaded Code" { // ~5 ms after cache build
11  
      setValue(toM(totalLoadedCodeSize()) + " MB");
12  
      setModuleName("Total Loaded Code: " + getValue());
13  
    //}
14  
  }
15  
}

Author comment

Began life as a copy of #1016598

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1019294
Snippet name: Total Loaded Code [Dyn Module]
Eternal ID of this version: #1019294/7
Text MD5: 23dfb37f94dada45e1de0c23353288c1
Transpilation MD5: e92e1e6a52bb49f328b2682c96c07c80
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-07-13 22:59:49
Source code size: 356 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 375 / 601
Version history: 6 change(s)
Referenced in: [show references]