Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
one cmake file less
[simgrid.git] / examples / simdag / throttling / sd_throttling.tesh
diff --git a/examples/simdag/throttling/sd_throttling.tesh b/examples/simdag/throttling/sd_throttling.tesh
new file mode 100644 (file)
index 0000000..a9de46f
--- /dev/null
@@ -0,0 +1,14 @@
+#! ./tesh
+p Modify the rate of communication tasks even when they are auto-scheduled
+
+$ $SG_TEST_EXENV ./throttling/sd_throttling --cfg=network/TCP_gamma:4194304 ${srcdir:=.}/../platforms/2clusters.xml
+> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
+> [0.000000] [xbt_cfg/INFO] Switching to the L07 model to handle parallel tasks.
+> [1.000000] [sd_comm_throttling/INFO] Simulation stopped after 1.0000 seconds
+> [1.000000] [sd_comm_throttling/INFO] Task 'Task A' start time: 0.000000, finish time: 1.000000
+> [2.080300] [sd_comm_throttling/INFO] Simulation stopped after 2.0803 seconds
+> [2.080300] [sd_comm_throttling/INFO] Task 'Task B' start time: 1.000000, finish time: 1.080300
+> [2.080300] [sd_comm_throttling/INFO] Task 'Task C' start time: 1.080300, finish time: 2.080300
+> [3.240600] [sd_comm_throttling/INFO] Simulation stopped after 3.2406 seconds
+> [3.240600] [sd_comm_throttling/INFO] Task 'Task D' start time: 2.080300, finish time: 2.240600
+> [3.240600] [sd_comm_throttling/INFO] Task 'Task E' start time: 2.240600, finish time: 3.240600