public class CPUTime
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
float |
getSystemTime()
Returns the system time component in seconds.
|
float |
getTotalTime()
Returns the sum of user and system time in seconds.
|
float |
getUserTime()
Returns the user time component in seconds.
|
java.lang.String |
toString()
Returns a string representation of this CPU time,
including user time and system time.
|
public float getUserTime()
public float getSystemTime()
public float getTotalTime()
public java.lang.String toString()
toString
in class java.lang.Object