diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-10-28 15:18:38 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-11-02 13:56:50 +0100 |
| commit | 79a2f31c800c23539c413771a3f893c423275372 (patch) | |
| tree | 014c96695dd0889db041c6f73f5332d22004e3fc /opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/ResourceStateColumns.kt | |
| parent | a8e2d460a3b6803845687585ae0b34e67a9445a3 (diff) | |
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.
Diffstat (limited to 'opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/ResourceStateColumns.kt')
| -rw-r--r-- | opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/ResourceStateColumns.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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<Instant> = column("resource_state:timestamp") |
