TracingConfig

@Serializable
data class TracingConfig(val animationTraceFile: String? = null, val captureLevel: CaptureLevel = CaptureLevel.MINIMAL, val flushEveryNEvents: Int = 1000)(source)

Animation trace capture settings embedded in a RunConfiguration.

When animationTraceFile is null (the default), tracing is disabled and the AnimationTraceAttachment (Phase 7) is never created — zero overhead.

The CaptureLevel taxonomy is a placeholder until Phase 7, where the full set of observable events in ksl.modeling will be inventoried and classified.

Constructors

Link copied to clipboard
constructor(animationTraceFile: String? = null, captureLevel: CaptureLevel = CaptureLevel.MINIMAL, flushEveryNEvents: Int = 1000)

Properties

Link copied to clipboard

file-system path for the trace output file; null disables tracing

Link copied to clipboard

how much detail to capture; see CaptureLevel

Link copied to clipboard

how often (in events) the trace writer should flush its buffer to disk