Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add python coverage
[simgrid.git] / examples / python / actor-migrate / actor-migrate.tesh
1 #!/usr/bin/env tesh
2
3 p Testing the actor migration feature 
4
5 $ python3 ${PYTHON_TOOL_OPTIONS:=} ${bindir:=.}/actor-migrate.py ${platfdir}/small_platform.xml "--log=root.fmt:[%10.6r]%e(%P@%h)%e%m%n"
6 > [  0.000000] (worker@Fafard) Let's move to Boivin to execute 1177.14 Mflops (5sec on Boivin and 5sec on Jacquelin)
7 > [  5.000000] (monitor@Boivin) After 5 seconds, move the process to Jacquelin
8 > [ 10.000000] (worker@Jacquelin) I wake up on Jacquelin. Let's suspend a bit
9 > [ 15.000000] (monitor@Boivin) At t=15, move the process to Fafard and resume it.
10 > [ 15.000000] (worker@Fafard) I wake up on Fafard
11 > [ 15.000000] (worker@Fafard) Done