Bridges-Java
3.4.3
Bridges(Java API)
|
Base class for a variety of benchmarks.
This class is not meant to be used directly by students.
Public Member Functions | |
void | setTimeCap (long cap_in_ms) |
sets an upper bound to the time of a run. More... | |
long | getTimeCap () |
Return time limit of a run. More... | |
Package Functions | |
Benchmark (LineChart plot, long timeCap) | |
Benchmark (LineChart plot) | |
Package Attributes | |
LineChart | plot |
|
package |
|
package |
long bridges.benchmark.Benchmark.getTimeCap | ( | ) |
Return time limit of a run.
The benchmark will end after a run if it takes more than the given amount of time. So it is possible a particular run takes more than the allotted time, but that will be the last run.
void bridges.benchmark.Benchmark.setTimeCap | ( | long | cap_in_ms | ) |
sets an upper bound to the time of a run.
The benchmark will end after a run if it takes more than the given amount of time. So it is possible a particular run takes more than the alloted time, but that will be the last run.
cap_in_ms | time limit in milliseconds |
|
package |