public class AverageTimeComponent extends TimeComponent
StatusBarComponent
that renders the average time algorithm steps are taking
in the form of steps per second, also shows elapsed time.Constructor and Description |
---|
AverageTimeComponent() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
render()
Renders the content of a component to a String.
|
void |
step()
Advances the step counter which is used to calculate the average step time.
|
formatDuration
public java.lang.String render()
StatusBarComponent
public void step()