X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f987a42d6575af226a5c47395d0e228a8c139f50..8bf7ffc43ad5507982e924a7f05bbb13c89965cb:/examples/python/plugin-host-load/plugin-host-load.py?ds=sidebyside diff --git a/examples/python/plugin-host-load/plugin-host-load.py b/examples/python/plugin-host-load/plugin-host-load.py index 9fce74332a..71d3ac8f4c 100644 --- a/examples/python/plugin-host-load/plugin-host-load.py +++ b/examples/python/plugin-host-load/plugin-host-load.py @@ -48,7 +48,7 @@ far: {host.computed_flops:.0E}, average load as reported by the HostLoad plugin: this_actor.info(f'Run an activity of {100E6:.0E} flops') this_actor.execute(100E6) this_actor.info(f'Done working on my activity; this took {Engine.clock - start}s; current peak speed: {host.speed:.0E} flop/s; number of flops computed so far: {host.computed_flops:.0E}') - Engine + start = Engine.clock this_actor.info("========= Requesting a reset of the computation and load counters") host.reset_load()