X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/aab076afacb8bc3f295c6f42e221f4d2e5d5d69a..HEAD:/tools/simgrid-monkey diff --git a/tools/simgrid-monkey b/tools/simgrid-monkey index 8a70894e7e..c5699eaa8f 100755 --- a/tools/simgrid-monkey +++ b/tools/simgrid-monkey @@ -1,6 +1,6 @@ #! /usr/bin/env python3 -# The goal is to introduce random failures in a simulation, to test simgrid under extreme conditions. +# The goal is to introduce random failures in a simulation, to test SimGrid under extreme conditions. # # It is made of several components. # @@ -13,7 +13,7 @@ # Kill the link #0 after 42 seconds (using a kernel::Timer) # # * a python script: tools/simgrid-monkey (this file) -# * It takes a regular simgrid simulation as a parameter, use the cmonkey plugin to get the information about it, +# * It takes a regular SimGrid simulation as a parameter, use the cmonkey plugin to get the information about it, # and then restart many runs, with one resource being turn_off() + turn_on() in each run. # * Each resource gets killed between each timestamps, and on each timestamp. # * So the amount of simulations is: 1 + (host_c+link_c) * timestamps * 2 @@ -65,7 +65,7 @@ def get_info(cmd): #print(f"hosts:{host_count} links:{link_count} timestamps:{' '.join(([str(i) for i in timestamps]))}") return (host_count, link_count, timestamps) -parser = argparse.ArgumentParser(description='Run a simgrid simulation, and turn off/on resources at random.') +parser = argparse.ArgumentParser(description='Run a SimGrid simulation, and turn off/on resources at random.') parser.add_argument('--valgrind', help="Run the simulations in valgrind") parser.add_argument('command', nargs='*') args = parser.parse_args()