Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
some cleanups in examples/msg
[simgrid.git] / examples / msg / suspend / suspend.tesh
1 #! ./tesh
2
3 p Testing the suspend/resume feature of MSG
4
5 ! output sort 19
6 $ $SG_TEST_EXENV ${bindir:=.}/suspend ${srcdir:=.}/platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
7 > [  0.000000] (1:dream_master@Jacquelin) Let's create a lazy guy.
8 > [  0.000000] (1:dream_master@Jacquelin) Let's wait a little bit...
9 > [  0.000000] (2:Lazy@Jacquelin) Nobody's watching me ? Let's go to sleep.
10 > [ 10.000000] (1:dream_master@Jacquelin) Let's wake the lazy guy up! >:) BOOOOOUUUHHH!!!!
11 > [ 10.000000] (2:Lazy@Jacquelin) Uuuh ? Did somebody call me ?
12 > [ 10.000000] (2:Lazy@Jacquelin) Going to sleep...
13 > [ 15.000000] (1:dream_master@Jacquelin) Suspend the lazy guy while he's sleeping...
14 > [ 15.000000] (1:dream_master@Jacquelin) Let him finish his siesta.
15 > [ 25.000000] (1:dream_master@Jacquelin) Wake up, lazy guy!
16 > [ 25.000000] (2:Lazy@Jacquelin) Mmm... waking up.
17 > [ 25.000000] (2:Lazy@Jacquelin) Going to sleep one more time...
18 > [ 30.000000] (1:dream_master@Jacquelin) Suspend again the lazy guy while he's sleeping...
19 > [ 30.000000] (1:dream_master@Jacquelin) This time, don't let him finish his siesta.
20 > [ 32.000000] (1:dream_master@Jacquelin) Wake up, lazy guy!
21 > [ 32.000000] (1:dream_master@Jacquelin) OK, goodbye now.
22 > [ 35.000000] (0:maestro@) Simulation time 35
23 > [ 35.000000] (2:Lazy@Jacquelin) Waking up once for all!
24 > [ 35.000000] (2:Lazy@Jacquelin) Mmmh, goodbye now.