|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.filters.supervised.attribute.gpattributegeneration.Timer
public class Timer
Timer class to replicate some of the C# Stopwatch functionality
Constructor Summary | |
---|---|
Timer()
Starts the timer |
Method Summary | |
---|---|
long |
getElapsed()
Gets time elapsed since the timer was started in milliseconds. |
double |
getElapsedSeconds()
Gets time elapsed since the timer was started, in seconds. |
long |
getElapsedSinceSplit()
Gets time elapsed since the timer's split function was used in milliseconds. |
double |
getElapsedSinceSplitSeconds()
Gets time elapsed since the timer's split function was used, in seconds. |
long |
getTotalTime()
|
double |
getTotalTimeSeconds()
|
void |
startSplit()
Starts a split timer |
void |
stop()
Stops the timer |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Timer()
Method Detail |
---|
public long getElapsed()
public double getElapsedSeconds()
public long getElapsedSinceSplit()
public double getElapsedSinceSplitSeconds()
public void startSplit()
public void stop()
public long getTotalTime()
public double getTotalTimeSeconds()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |