X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/39c935d6d5ee86d153f6f7e6a10d723ae7c57f6f..305d783c9c259a5ec28836bdf697f73c6451aa2f:/examples/python/actor-join/actor-join.py diff --git a/examples/python/actor-join/actor-join.py b/examples/python/actor-join/actor-join.py index c960bc70de..770ec7662e 100644 --- a/examples/python/actor-join/actor-join.py +++ b/examples/python/actor-join/actor-join.py @@ -1,10 +1,14 @@ -# Copyright (c) 2017-2021. The SimGrid Team. All rights reserved. +# Copyright (c) 2017-2023. The SimGrid Team. All rights reserved. # # This program is free software you can redistribute it and/or modify it # under the terms of the license (GNU LGPL) which comes with this package. -from simgrid import Actor, Engine, Host, this_actor +""" +Usage: actor-join.py platform_file [other parameters] +""" + import sys +from simgrid import Actor, Engine, Host, this_actor def sleeper(): @@ -55,4 +59,4 @@ if __name__ == '__main__': e.run() - this_actor.info("Simulation time {}".format(Engine.get_clock())) + this_actor.info("Simulation time {}".format(e.clock))