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
fix all Task examples to support the new Task format with dispatcher and collector
[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
e75215a
..
d3ab8c1
100644
(file)
--- a/
examples/python/task-io/task-io.py
+++ b/
examples/python/task-io/task-io.py
@@
-18,7
+18,7
@@
def parse():
return parser.parse_args()
def callback(t):
- print(f'[{Engine.clock}] {t} finished ({t.
count
})')
+ print(f'[{Engine.clock}] {t} finished ({t.
get_count()
})')
if __name__ == '__main__':
args = parse()