Libraryless. Click here for Pure Java version (15745L/111K).
!7 module ModuleRAMSizes extends DynObjectTable<Map> { start { doEveryAndNow(60.0, r calcIt); } void calcIt { temp enter(); new L<Map> l; time "Calculate Module Sizes" { for (O mod : dm_listModules()) { S size = "?"; pcall-short { size = toK(dm_moduleSize(mod)) + " K"; } l.add(litorderedmap( Name := dm_moduleName(mod), Size := size)); } } setData(sortedByFieldAlphaNumDesc('Size, l)); } }
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: | #1018920 |
| Snippet name: | Module RAM Sizes |
| Eternal ID of this version: | #1018920/4 |
| Text MD5: | 418562f373e806fb06912c9cbf9356c2 |
| Transpilation MD5: | b4284a6074e373ba11a800c3507cc3e6 |
| Author: | stefan |
| Category: | javax / stefan's os |
| Type: | JavaX source code (Dynamic Module) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-10-15 23:59:57 |
| Source code size: | 503 bytes / 22 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 619 / 814 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |