LavaUI docs GitHub

struct Sample

Swift

struct Sample

One span's totals over a reporting window.

Sources/LavaUI/EditorProbe.swift:25

Properties

var calls: Int

How many times it ran.

Sources/LavaUI/EditorProbe.swift:29

var maxMs: Double

The slowest single call, in milliseconds.

Sources/LavaUI/EditorProbe.swift:33

var meanOffset: Int?

Mean buffer offset the calls were working at, or nil when the span does not depend on a position. This is the column that says whether something is a walk from the start of the buffer.

Sources/LavaUI/EditorProbe.swift:37

var name: String

The span's name.

Sources/LavaUI/EditorProbe.swift:27

var totalMs: Double

Time spent in it altogether, in milliseconds.

Sources/LavaUI/EditorProbe.swift:31