Uses 1113K of libraries. Click here for Pure Java version (9276L/43K).
1 | !7 |
2 | |
3 | cm HotSpotCompilationCPUPercentage > DynBigNumber { |
4 | transient O cpuMonitor; |
5 | |
6 | start { |
7 | setDescription("HOTSPOT COMPILATION CPU %"); |
8 | setToolTip("Percentage is per core"); |
9 | cpuMonitor = runDependentWithParams(#1001405, |
10 | measureThreads := false); |
11 | ownTimer(doEvery(2.0, r actualUpdate)); |
12 | } |
13 | |
14 | void actualUpdate { |
15 | setValue(iceil((double) get(cpuMonitor, 'compilationPercentage)) + " %"); |
16 | } |
17 | } |
Began life as a copy of #1016652
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1024200 |
Snippet name: | HotSpot Compilation CPU % [Dyn Module] |
Eternal ID of this version: | #1024200/4 |
Text MD5: | e17cefc8537986c2d4ac83377f7f6360 |
Transpilation MD5: | 87c927978e279c57ae34df0f1123e6f4 |
Author: | stefan |
Category: | javax / modules |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-29 16:38:23 |
Source code size: | 440 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 229 / 8530 |
Version history: | 3 change(s) |
Referenced in: | [show references] |