task-name rendezvous task-name2 after (task-name,block1),...,(task-name,blockN)You can assume the first task-name will be the same as second (third, fourth, ...) task-name in (task-name,block1),...(task-name,blockN).
Input:
number-of-processors
N
task-name1 num-blocks1 (c(1,1), c(1,2),..., c(1,num-blocks1)) d(1) p(1)
task-name2 num-blocks2 (c(2,1), c(2,2),..., c(2,num-blocks2)) d(2) p(2)
: :
task-nameN num-blocksN (c(N,1), c(N,2),..., c(N,num-blocksN)) d(N) p(N)
task-name rendezvous task-name after (task-name,block),...,(task-name,block)
: :
task-name rendezvous task-name after (task-name,block),...,(task-name,block)
sample input file #2,
sample input file #3,
sample input file #4,
sample input file #5
new,
sample input file #6, and
new
sample input file #7
new
Algorithm/Mechanism:
Output:
These are output suggestions, not limit to.
0 1 2 3 4 5 6 7 8 9 10
+---+---+---+---+---+---+---+---+---+---+
|C11|C21|C12|C3 |C22|C11| C22 |C12|
+---+---+---+---+---+---+---+---+---+---+
Or in Timing Diagram,
0 1 2 3 4 5 6 7 8 9 10
+---+---+---+---+---+---+---+---+---+---+
T1 |C11| |C12| |C11|C12|
S---+---+---D---+---P---+---+---D---+---+
T2 |C21| | C22 |
S---+---+---+---+---+---+---+---+---+---D
T2 |C3 |
S---+---+---+---+---+---+---+---+---D---P
Where S, D, and P stand for Starting
time, Deadline, and Period, respetively.
+-----+ 0
| C11 |
+-----+ 1
| C21 |
+-----+ 2
| C12 |
+-----+ 3
| C3 |
+-----+ 4
| C22 |
+-----+ 5
| C11 |
+-----+ 6
| |
+ C22 + 7
| |
+-----+ 8
| C12 |
+-----+ 9
Or in Timing Diagram,
T1 T2 T3
S-----+ S + S + 0
| C11 | | | | |
+-----+ +-----+ + + 1
| | | C21 | | |
+-----+ +-----+ + + 2
| C12 | | | | |
D-----+ +-----+ + + 3
| | | | | |
+ + + + + + 4
| | | C22 | | |
P + + + + + 5
| | | | | |
+-----+ +-----+ + + 6
| C11 | | | | |
+-----+ + + + + 7
| C12 | | | | |
D-----+ + + +-----+ 8
| | | | | C3 |
+ + + + D-----+ 9
| | | | | |
+ + D + P + 10
Where S, D, and P stand for Starting
time, Deadline, and Period, respetively.