speed

fun ProgressLayoutScope<*>.speed(suffix: String = "/s", style: TextStyle = DEFAULT_STYLE, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = textFps)

Add a cell that displays the current speed to this layout.

Parameters

suffix

A string to append to the end of the displayed speed, such as "B/s" if you are tracking bytes. "/s" by default.

style

The style to use for the displayed speed.

fps

The number of times per second to update the displayed speed. Uses the text fps by default.