SojournResult
@Serializable
@SerialName(value = "SojournResult")
Per-state cumulative time, transition counts, and current-state dwell.
Constructors
SojournResult
Properties
currentDwellNanos
Nanoseconds spent in the current state since it was last entered.
currentState
State key currently occupied, or Long.MIN_VALUE when no observation has landed yet.
currentStateEnterTimestampNanos
Timestamp (nanoseconds) at which the current state was entered.
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.