public class Times
extends java.lang.Object
| Constructor | Description |
|---|---|
Times() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
main(java.lang.String[] args) |
Test program.
|
static boolean |
snapshot() |
Takes a "snapshot" of the system.
|
static float |
systemTime() |
Returns the system time used by this process in seconds.
|
static float |
userTime() |
Returns the user time used by this process in seconds.
|
public static boolean snapshot()
public static float userTime()
public static float systemTime()
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception