RunSummary

data class RunSummary(val id: Int, val startTime: Long, val stopTime: Long, val startEventIndex: Int, val eventCount: Int, val meterStates: List<MeterState>)

Run represents a single test run of a test case. The runs are expected to behave in a more or less identical way. The runs contain a list of summaries for each associated power meter.

Each run consists of

  • id (0, 1, ...)

  • start and stop timestamps

  • start idx for events + event count

  • summary of runs

  • summary of read errors (yes/no)

Constructors

Link copied to clipboard
constructor(id: Int, startTime: Long, stopTime: Long, startEventIndex: Int, eventCount: Int, meterStates: List<MeterState>)

Properties

Link copied to clipboard

Number of events in this run

Link copied to clipboard
val id: Int

ID of the run

Link copied to clipboard

Cumulative meter states at the end of this run

Link copied to clipboard

index of the first associated event

Link copied to clipboard

The start timestamp, @see System.currentTimeMillis()

Link copied to clipboard

The stop timestamp, @see System.currentTimeMillis()

Functions

Link copied to clipboard
Link copied to clipboard
fun errorCount(): <Error class: unknown class>
Link copied to clipboard
open override fun toString(): String