summaryrefslogtreecommitdiff
path: root/opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/conv
diff options
context:
space:
mode:
Diffstat (limited to 'opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/conv')
-rw-r--r--opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/conv/ResourceColumns.kt12
1 files changed, 12 insertions, 0 deletions
diff --git a/opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/conv/ResourceColumns.kt b/opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/conv/ResourceColumns.kt
index 181ca8e8..3d0341b2 100644
--- a/opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/conv/ResourceColumns.kt
+++ b/opendc-trace/opendc-trace-api/src/main/kotlin/org/opendc/trace/conv/ResourceColumns.kt
@@ -91,6 +91,18 @@ public val resourceGpuCapacity: String = "gpu_capacity"
public val resourceGpuMemCapacity: String = "gpu_mem_capacity"
/**
+ * The parents of the resource that need to be completed before this resource can be used.
+ */
+@JvmField
+public val resourceParents: String = "parents"
+
+/**
+ * The children of the resource that cannot be started before this is completed.
+ */
+@JvmField
+public val resourceChildren: String = "children"
+
+/**
* Nature of the task. Delayable, interruptible, etc.
*/
@JvmField