Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add python bindings for operations
[simgrid.git] / examples / python / operation-variable-load / operation-variable-load.tesh
diff --git a/examples/python/operation-variable-load/operation-variable-load.tesh b/examples/python/operation-variable-load/operation-variable-load.tesh
new file mode 100644 (file)
index 0000000..4420174
--- /dev/null
@@ -0,0 +1,18 @@
+#!/usr/bin/env tesh
+
+$ ${pythoncmd:=python3} ${PYTHON_TOOL_OPTIONS:=} ${srcdir:=.}/operation-variable-load.py --platform ${platfdir}/small_platform.xml
+> --- Small load ---
+> [1.5204176120174615] Operation comm finished (1)
+> [14.62726462889908] Operation exec finished (1)
+> [101.52041761201747] Operation comm finished (2)
+> [114.62726462889908] Operation exec finished (2)
+> [201.52041761201744] Operation comm finished (3)
+> [214.62726462889907] Operation exec finished (3)
+> --- Heavy load ---
+> [1301.5204176120174] Operation comm finished (4)
+> [1303.0408352240347] Operation comm finished (5)
+> [1304.561252836052] Operation comm finished (6)
+> [1314.627264628899] Operation exec finished (4)
+> [1327.7341116457806] Operation exec finished (5)
+> [1340.8409586626622] Operation exec finished (6)
+