Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill a few globals.
[simgrid.git] / examples / cpp / mc-centralized-mutex / s4u-mc-centralized-mutex.tesh
1 #!/usr/bin/env tesh
2
3 $ ${bindir:=.}/s4u-mc-centralized-mutex ${platfdir:=.}/small_platform.xml "--log=root.fmt:[%5.2r]%e[%11P][%9h]%e%m%n"
4 > [ 0.00] [     client][   Fafard] Ask the request
5 > [ 0.00] [     client][   Boivin] Ask the request
6 > [ 0.00] [     client][Jacquelin] Ask the request
7 > [ 0.00] [     client][  Ginette] Ask the request
8 > [ 0.03] [coordinator][ Tremblay] CS idle. Grant immediately
9 > [ 0.05] [     client][   Fafard] got the answer. Sleep a bit and release it
10 > [ 0.25] [coordinator][ Tremblay] CS already used. Queue the request
11 > [ 1.12] [coordinator][ Tremblay] CS already used. Queue the request
12 > [ 1.13] [coordinator][ Tremblay] CS already used. Queue the request
13 > [ 1.16] [coordinator][ Tremblay] CS release. Grant to queued requests (queue size: 3)
14 > [ 1.36] [     client][   Boivin] got the answer. Sleep a bit and release it
15 > [ 2.56] [coordinator][ Tremblay] CS release. Grant to queued requests (queue size: 2)
16 > [ 3.16] [     client][   Fafard] Ask the request
17 > [ 3.42] [     client][Jacquelin] got the answer. Sleep a bit and release it
18 > [ 3.45] [coordinator][ Tremblay] CS already used. Queue the request
19 > [ 5.28] [coordinator][ Tremblay] CS release. Grant to queued requests (queue size: 2)
20 > [ 5.30] [     client][  Ginette] got the answer. Sleep a bit and release it
21 > [ 5.56] [     client][   Boivin] Ask the request
22 > [ 5.77] [coordinator][ Tremblay] CS already used. Queue the request
23 > [ 6.32] [coordinator][ Tremblay] CS release. Grant to queued requests (queue size: 2)
24 > [ 6.34] [     client][   Fafard] got the answer. Sleep a bit and release it
25 > [ 7.37] [coordinator][ Tremblay] CS release. Grant to queued requests (queue size: 1)
26 > [ 7.57] [     client][   Boivin] got the answer. Sleep a bit and release it
27 > [ 8.78] [coordinator][ Tremblay] CS release. resource now idle
28 > [ 9.28] [     client][Jacquelin] Ask the request
29 > [ 9.37] [     client][   Fafard] Got all the CS I wanted, quit now
30 > [10.15] [coordinator][ Tremblay] CS idle. Grant immediately
31 > [11.01] [     client][Jacquelin] got the answer. Sleep a bit and release it
32 > [11.32] [     client][  Ginette] Ask the request
33 > [11.33] [coordinator][ Tremblay] CS already used. Queue the request
34 > [11.78] [     client][   Boivin] Got all the CS I wanted, quit now
35 > [12.87] [coordinator][ Tremblay] CS release. Grant to queued requests (queue size: 1)
36 > [12.88] [     client][  Ginette] got the answer. Sleep a bit and release it
37 > [13.90] [coordinator][ Tremblay] CS release. resource now idle
38 > [13.90] [coordinator][ Tremblay] Received all releases, quit now
39 > [16.87] [     client][Jacquelin] Got all the CS I wanted, quit now
40 > [18.90] [     client][  Ginette] Got all the CS I wanted, quit now