!7 sclass JavaPlusHotSpotCPUPercentage extends DynBigNumber { transient O cpuMonitor; start { setDescription("JAVA + HOTSPOT CPU %"); setToolTip("Percentage is per core"); cpuMonitor = runDependent(#1001405); ownTimer(doEvery(2.0, r actualUpdate)); } void actualUpdate { setValue(iceil( (double) call(cpuMonitor, 'getInProcessCPU) + (double) get(cpuMonitor, 'compilationPercentage)) + " %"); } }