InstanceBenchmarkEvent

data class InstanceBenchmarkEvent(val nanoTime: Long = System.nanoTime(), val systemTimestamp: Long = System.currentTimeMillis(), val id: String, val benchmark: String, val result: String, val success: Boolean = true) : InstanceEvent, StatusEvent

An event signaling that the PowerGoblin instance executed a benchmark.

Constructors

Link copied to clipboard
constructor(nanoTime: Long = System.nanoTime(), systemTimestamp: Long = System.currentTimeMillis(), id: String, benchmark: String, result: String, success: Boolean = true)

Properties

Link copied to clipboard

Name of the benchmark

Link copied to clipboard
open override val id: String

The id of the PowerGoblin instance.

Link copied to clipboard
open override val nanoTime: Long

Current value of the most precise available system timer, in nanoseconds.

Link copied to clipboard

Result of the benchmark

Link copied to clipboard
val success: Boolean = true
Link copied to clipboard
open override val systemTimestamp: Long

Current time in milliseconds.