BenchmarkResult

data class BenchmarkResult(val elapsed: Duration, val success: Boolean, val errorMessage: String? = null)

Benchmark metrics for a single BLE operation with success/failure tracking.

Unlike TimingResult (which always wraps a value), this type captures both successful and failed operations for reliability benchmarking.

Constructors

Link copied to clipboard
constructor(elapsed: Duration, success: Boolean, errorMessage: String? = null)

Properties

Link copied to clipboard

Wall-clock time for the operation.

Link copied to clipboard

Description of the failure, if any.

Link copied to clipboard

Whether the operation completed without error.