From 79a2f31c800c23539c413771a3f893c423275372 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Thu, 28 Oct 2021 15:18:38 +0200 Subject: refactor(trace): Support gaps in trace data This change updates the implementation of the trace converter and SimTrace implementation to support cases where there is a gap between samples in the trace data. This change allows users to specify what to do in case samples are missing in the trace. The available options are specified in `SimTrace.FillMode`. Currently, we support either carrying the previous value forward or set the usage to zero. --- .../src/main/kotlin/org/opendc/trace/ResourceStateColumns.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opendc-trace/opendc-trace-api/src') diff --git a/opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/ResourceStateColumns.kt b/opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/ResourceStateColumns.kt index 44762da5..244352ae 100644 --- a/opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/ResourceStateColumns.kt +++ b/opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/ResourceStateColumns.kt @@ -27,7 +27,7 @@ import java.time.Duration import java.time.Instant /** - * Timestamp for the state. + * The timestamp at which the state was recorded. */ @JvmField public val RESOURCE_STATE_TIMESTAMP: TableColumn = column("resource_state:timestamp") -- cgit v1.2.3