A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of https://framagit.org/simgrid/simgrid
[simgrid.git]
/
examples
/
python
/
task-io
/
task-io.py
diff --git
a/examples/python/task-io/task-io.py
b/examples/python/task-io/task-io.py
index 18a4cb2aacd26b675180c1a850e136785c25d592..b74c41169c1f0ed8347afb97fae2ac8c9d5667b3 100644
(file)
--- a/
examples/python/task-io/task-io.py
+++ b/
examples/python/task-io/task-io.py
@@
-17,8
+17,8
@@
def parse():
)
return parser.parse_args()
)
return parser.parse_args()
-def callback(
t):
- print(f'[{Engine.clock}] {
t} finished ({
t.count})')
+def callback(t):
+ print(f'[{Engine.clock}] {
t} finished ({
t.count})')
if __name__ == '__main__':
args = parse()
if __name__ == '__main__':
args = parse()
@@
-48,4
+48,4
@@
if __name__ == '__main__':
exec1.enqueue_execs(2)
# runs the simulation
exec1.enqueue_execs(2)
# runs the simulation
- e.run()
\ No newline at end of file
+ e.run()