public class NanoStopWatch extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
begin()
start running the stop watch
|
static long |
getMillis()
Get the elapsed time since start in milli seconds.
|
static long |
getNanos()
Get the elapsed time since start in nano seconds.
|
static void |
stop() |
static long |
stopAndGetMillis()
Stop the watch and get the elapsed time since start in milli seconds.
|
static long |
stopAndGetNanos()
Stop the watch and get the elapsed time since start in nano seconds.
|
public static void begin()
public static void stop()
public static long getMillis()
public static long getNanos()
public static long stopAndGetMillis()
public static long stopAndGetNanos()
Copyright © 2018. All rights reserved.