public class RunTime
extends java.lang.Object
implements cmp338.util.RuntimeInterface
Constructor and Description |
---|
RunTime() |
Modifier and Type | Method and Description |
---|---|
void |
addRuntime(long runTime) |
double |
getAverageRunTime() |
long |
getLastRunTime() |
long[] |
getRunTimes() |
void |
resetRunTimes() |
public long getLastRunTime()
getLastRunTime
in interface cmp338.util.RuntimeInterface
public long[] getRunTimes()
getRunTimes
in interface cmp338.util.RuntimeInterface
public void resetRunTimes()
resetRunTimes
in interface cmp338.util.RuntimeInterface
public void addRuntime(long runTime)
addRuntime
in interface cmp338.util.RuntimeInterface
public double getAverageRunTime()
getAverageRunTime
in interface cmp338.util.RuntimeInterface