|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnanovm.nibo.drivers.Clock
public class Clock
Encapsulates time information and delay methods.
Constructor Summary | |
---|---|
Clock()
|
Method Summary | |
---|---|
static void |
delayMicroseconds(int us)
wait given time in microseconds |
static void |
delayMilliseconds(int ms)
wait given time in milliseconds |
static int |
getMilliSeconds()
report milliseconds since last second |
static int |
getSeconds()
report seconds since system start |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Clock()
Method Detail |
---|
public static int getSeconds()
public static int getMilliSeconds()
public static void delayMilliseconds(int ms)
ms
- millisecondspublic static void delayMicroseconds(int us)
us
- microseconds
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |