kumulant

SojournResult

@Serializable
@SerialName(value = "SojournResult")
data class SojournResult(val states: List<Long>, val totalNanosByState: List<Long>, val transitionsByState: List<Long>, val currentState: Long, val currentStateEnterTimestampNanos: Long, val timestampNanos: Long, val hasState: Boolean) : Result(source)

Per-state cumulative time, transition counts, and current-state dwell.

Constructors

Link copied to clipboard
constructor(states: List<Long>, totalNanosByState: List<Long>, transitionsByState: List<Long>, currentState: Long, currentStateEnterTimestampNanos: Long, timestampNanos: Long, hasState: Boolean)

Properties

Link copied to clipboard

Nanoseconds spent in the current state since it was last entered.

Link copied to clipboard

State key currently occupied, or Long.MIN_VALUE when no observation has landed yet.

Link copied to clipboard

Timestamp (nanoseconds) at which the current state was entered.

Link copied to clipboard

False until the first DiscreteStat.update has been recorded.

Link copied to clipboard

Declared state alphabet, in the order passed to SojournStat.

Link copied to clipboard

Timestamp (nanoseconds) at which the snapshot was taken.

Link copied to clipboard

Cumulative nanoseconds spent in each declared state, in states order.

Link copied to clipboard

Number of transitions into each declared state, in states order. The first update counts as an entry into its state.

SojournResult

constructor(states: List<Long>, totalNanosByState: List<Long>, transitionsByState: List<Long>, currentState: Long, currentStateEnterTimestampNanos: Long, timestampNanos: Long, hasState: Boolean)(source)

currentDwellNanos

Nanoseconds spent in the current state since it was last entered.

currentStateEnterTimestampNanos

Timestamp (nanoseconds) at which the current state was entered.

currentState

State key currently occupied, or Long.MIN_VALUE when no observation has landed yet.

hasState

False until the first DiscreteStat.update has been recorded.

states

Declared state alphabet, in the order passed to SojournStat.

timestampNanos

Timestamp (nanoseconds) at which the snapshot was taken.

totalNanosByState

Cumulative nanoseconds spent in each declared state, in states order.

transitionsByState

Number of transitions into each declared state, in states order. The first update counts as an entry into its state.