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

3
LINES

< > BotCompany Repo | #1026572 - renderHeapSizeWithTotal

JavaX fragment (include)

static S renderHeapSizeWithTotal() {
  ret "Used heap: " + iceil(toM_double(usedMemory())) + "/" + iceil(toM_double(totalMemory()));
}

Author comment

Began life as a copy of #1005960

download  show line numbers  debug dex   

Travelled to 3 computer(s): mqqgnosmbjvj, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026572
Snippet name: renderHeapSizeWithTotal
Eternal ID of this version: #1026572/3
Text MD5: 97ad7ef48300d71dafa5f80fa3a27fc1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-14 13:32:28
Source code size: 136 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 5 / 11
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1026572 & http://1026572.tinybrain.de