Searched refs:getPercent (Results 1 – 2 of 2) sorted by relevance
34 assertEquals(0.1, item.getPercent(170), 0.0001); in testSingleLine()48 assertEquals(57.0, item.getPercent(489), 0.0001); in testMultipleLines()50 assertEquals(8.2, item.getPercent(170), 0.0001); in testMultipleLines()
73 proc.put(PERCENT_KEY, getPercent(pid)); in toJson()113 public double getPercent(int pid) { in getPercent() method in CpuInfoItem