summaryrefslogtreecommitdiff
path: root/opendc-simulator/opendc-simulator-flow/src/jmh
diff options
context:
space:
mode:
Diffstat (limited to 'opendc-simulator/opendc-simulator-flow/src/jmh')
-rw-r--r--opendc-simulator/opendc-simulator-flow/src/jmh/kotlin/org/opendc/simulator/flow2/FlowBenchmarks.kt8
1 files changed, 4 insertions, 4 deletions
diff --git a/opendc-simulator/opendc-simulator-flow/src/jmh/kotlin/org/opendc/simulator/flow2/FlowBenchmarks.kt b/opendc-simulator/opendc-simulator-flow/src/jmh/kotlin/org/opendc/simulator/flow2/FlowBenchmarks.kt
index 6bf9c2a2..0ab051a4 100644
--- a/opendc-simulator/opendc-simulator-flow/src/jmh/kotlin/org/opendc/simulator/flow2/FlowBenchmarks.kt
+++ b/opendc-simulator/opendc-simulator-flow/src/jmh/kotlin/org/opendc/simulator/flow2/FlowBenchmarks.kt
@@ -93,8 +93,8 @@ class FlowBenchmarks {
val sinkA = SimpleFlowSink(graph, 3000.0f)
val sinkB = SimpleFlowSink(graph, 3000.0f)
- graph.connect(switch.newOutput(), sinkA.input)
- graph.connect(switch.newOutput(), sinkB.input)
+ graph.connect(switch.newOutPort(), sinkA.input)
+ graph.connect(switch.newOutPort(), sinkB.input)
val source = TraceFlowSource(graph, trace)
graph.connect(source.output, switch.newInput())
@@ -111,8 +111,8 @@ class FlowBenchmarks {
val sinkA = SimpleFlowSink(graph, 3000.0f)
val sinkB = SimpleFlowSink(graph, 3000.0f)
- graph.connect(switch.newOutput(), sinkA.input)
- graph.connect(switch.newOutput(), sinkB.input)
+ graph.connect(switch.newOutPort(), sinkA.input)
+ graph.connect(switch.newOutPort(), sinkB.input)
repeat(3) {
launch {