|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uniulm.sai.util.CpuTime
This class makes it possible to access the user and the system time of the current process (not thread!). These times are summed over all processes and also include time consumed by the JVM (e.g. for garbage collection).
Method Summary | |
static double |
getSystemTime()
Returns the system time of the current process in seconds. |
static double |
getTotalTime()
Returns the sum of the user and system times of the current process in seconds. |
static double |
getUserTime()
Returns the user time of the current process in seconds. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static double getUserTime()
public static double getSystemTime()
public static double getTotalTime()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |