|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectJFlex.Timer
public class Timer
Very simple timer for code generation time statistics. Not very exact, measures user time, not processor time.
| Constructor Summary | |
|---|---|
Timer()
Construct a new timer that starts immediatly. |
|
| Method Summary | |
|---|---|
long |
diff()
Return the number of milliseconds the timer has been running. |
void |
start()
Start the timer. |
void |
stop()
Stop the timer. |
java.lang.String |
toString()
Return a string representation of the timer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Timer()
| Method Detail |
|---|
public void start()
public void stop()
public long diff()
public java.lang.String toString()
toString in class java.lang.Objectdiff()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||