MeasureContext

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion
Link copied to clipboard
inner class ProcessMetadata(val id: String, var label: String, color: TextStyle? = null, val parent: MeasureContext.ProcessMetadata? = null)

Properties

Link copied to clipboard

End timestamp

Link copied to clipboard
var cursor: Int
Link copied to clipboard
Link copied to clipboard

Start timestamp

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val span: Long

Total duration

Link copied to clipboard

Functions

Link copied to clipboard
fun end(id: String)

End process measurement

Link copied to clipboard
context(grid: GridBuilder)
fun render(process: MeasureContext.ProcessMetadata, level: Int = 0)
Link copied to clipboard
fun start(id: String, label: String = id, color: TextStyle? = null, parent: String? = null): MeasureContext.ProcessMetadata

Begin process measurement