|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsk.baka.webvm.analyzer.CpuUsage
public final class CpuUsage
Provides a CPU measurement support.
| Constructor Summary | |
|---|---|
CpuUsage(ICpuUsageMeasure usage)
Creates a new CPU usage measurer. |
|
| Method Summary | |
|---|---|
int |
getCpuUsage()
Returns an average CPU usage in a time slice starting at the previous call of this method. |
boolean |
supported()
Checks if this measurement is supported. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CpuUsage(ICpuUsageMeasure usage)
usage - retrieve usage data from this object.| Method Detail |
|---|
public boolean supported()
getCpuUsage() will always return -1.public int getCpuUsage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||