summaryrefslogtreecommitdiff
path: root/opendc-format/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'opendc-format/src/main')
-rw-r--r--opendc-format/src/main/kotlin/org/opendc/format/trace/swf/SwfTraceReader.kt4
1 files changed, 0 insertions, 4 deletions
diff --git a/opendc-format/src/main/kotlin/org/opendc/format/trace/swf/SwfTraceReader.kt b/opendc-format/src/main/kotlin/org/opendc/format/trace/swf/SwfTraceReader.kt
index 0d1f3cea..50ab652e 100644
--- a/opendc-format/src/main/kotlin/org/opendc/format/trace/swf/SwfTraceReader.kt
+++ b/opendc-format/src/main/kotlin/org/opendc/format/trace/swf/SwfTraceReader.kt
@@ -69,8 +69,6 @@ public class SwfTraceReader(
var cores: Int
var memory: Long
var slicedWaitTime: Long
- var flopsPerSecond: Long
- var flopsPartialSlice: Long
var runtimePartialSliceRemainder: Long
BufferedReader(FileReader(file)).use { reader ->
@@ -121,9 +119,7 @@ public class SwfTraceReader(
// Insert run time slices
- flopsPerSecond = 4_000L * cores
runtimePartialSliceRemainder = runTime % sliceDuration
- flopsPartialSlice = flopsPerSecond * runtimePartialSliceRemainder
for (
tick in (submitTime + slicedWaitTime)