[antares] ~/public_html/spring12/assignments/a3/.wahab>time SubRev
STARING SUBMIT THREAD 1
STARING SUBMIT THREAD 2
STARING SUBMIT THREAD 3
STARING SUBMIT THREAD 4
STARING SUBMIT THREAD 5
STARING SUBMIT THREAD 6
STARING SUBMIT THREAD 7
STARING SUBMIT THREAD 8
STARING SUBMIT THREAD 9
STARING REVIEW THREAD 1
STARING REVIEW THREAD 2
STARING REVIEW THREAD 3
STARING REVIEW THREAD 4
STARING REVIEW THREAD 5
STARING REVIEW THREAD 6
STARING REVIEW THREAD 7
STARING REVIEW THREAD 8
STARING REVIEW THREAD 9
REVIEW thread 2 sleeping 1
REVIEW thread 2 sleeping 2
SUBMIT thread 8 sleeping 5
Slot [5] filled by SUBMIT thread (8)..EXIT..
#Trials (1), Sleep Total (5), #Remaining Threads (17)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 0 0 0 0 8 0 0 0 0
R: 0 0 0 0 0 0 0 0 0
SUBMIT thread 9 sleeping 5
REVIEW thread 2 sleeping 2
SUBMIT thread 2 sleeping 6
Slot [6] filled by SUBMIT thread (2)..EXIT..
#Trials (1), Sleep Total (6), #Remaining Threads (16)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 0 0 0 0 8 2 0 0 0
R: 0 0 0 0 0 0 0 0 0
SUBMIT thread 4 sleeping 6
SUBMIT thread 5 sleeping 6
SUBMIT thread 6 sleeping 6
SUBMIT thread 7 sleeping 6
SUBMIT thread 1 sleeping 7
Slot [7] filled by SUBMIT thread (1)..EXIT..
#Trials (1), Sleep Total (7), #Remaining Threads (15)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 0 0 0 0 8 2 1 0 0
R: 0 0 0 0 0 0 0 0 0
SUBMIT thread 3 sleeping 7
SUBMIT thread 9 sleeping 3
Slot [3] filled by SUBMIT thread (9)..EXIT..
#Trials (2), Sleep Total (8), #Remaining Threads (14)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 0 0 9 0 8 2 1 0 0
R: 0 0 0 0 0 0 0 0 0
REVIEW thread 6 sleeping 8
REVIEW thread 8 sleeping 8
REVIEW thread 9 sleeping 8
SUBMIT thread 5 sleeping 3
REVIEW thread 1 sleeping 9
REVIEW thread 3 sleeping 9
REVIEW thread 4 sleeping 9
REVIEW thread 5 sleeping 9
REVIEW thread 7 sleeping 9
REVIEW thread 6 sleeping 2
SUBMIT thread 3 sleeping 4
Slot [4] filled by SUBMIT thread (3)..EXIT..
#Trials (2), Sleep Total (11), #Remaining Threads (13)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 0 0 9 3 8 2 1 0 0
R: 0 0 0 0 0 0 0 0 0
SUBMIT thread 5 sleeping 2
Slot [2] filled by SUBMIT thread (5)..EXIT..
#Trials (3), Sleep Total (11), #Remaining Threads (12)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 0 5 9 3 8 2 1 0 0
R: 0 0 0 0 0 0 0 0 0
SUBMIT thread 7 sleeping 5
REVIEW thread 5 sleeping 2
Slot [2] filled by REVIEW thread (5)..EXIT..
#Trials (2), Sleep Total (11), #Remaining Threads (11)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 0 5 9 3 8 2 1 0 0
R: 0 5 0 0 0 0 0 0 0
REVIEW thread 2 sleeping 7
Slot [7] filled by REVIEW thread (2)..EXIT..
#Trials (4), Sleep Total (12), #Remaining Threads (10)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 0 5 9 3 8 2 1 0 0
R: 0 5 0 0 0 0 2 0 0
SUBMIT thread 4 sleeping 7
SUBMIT thread 6 sleeping 7
REVIEW thread 6 sleeping 3
Slot [3] filled by REVIEW thread (6)..EXIT..
#Trials (3), Sleep Total (13), #Remaining Threads (9)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 0 5 9 3 8 2 1 0 0
R: 0 5 6 0 0 0 2 0 0
SUBMIT thread 4 sleeping 1
Slot [1] filled by SUBMIT thread (4)..EXIT..
#Trials (3), Sleep Total (14), #Remaining Threads (8)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 4 5 9 3 8 2 1 0 0
R: 0 5 6 0 0 0 2 0 0
REVIEW thread 8 sleeping 6
Slot [6] filled by REVIEW thread (8)..EXIT..
#Trials (2), Sleep Total (14), #Remaining Threads (7)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 4 5 9 3 8 2 1 0 0
R: 0 5 6 0 0 8 2 0 0
REVIEW thread 3 sleeping 6
REVIEW thread 4 sleeping 7
REVIEW thread 9 sleeping 8
REVIEW thread 1 sleeping 8
SUBMIT thread 6 sleeping 5
REVIEW thread 7 sleeping 9
SUBMIT thread 7 sleeping 8
Slot [8] filled by SUBMIT thread (7)..EXIT..
#Trials (3), Sleep Total (19), #Remaining Threads (6)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 4 5 9 3 8 2 1 7 0
R: 0 5 6 0 0 8 2 0 0
SUBMIT thread 6 sleeping 3
REVIEW thread 3 sleeping 6
REVIEW thread 9 sleeping 5
Slot [5] filled by REVIEW thread (9)..EXIT..
#Trials (3), Sleep Total (21), #Remaining Threads (5)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 4 5 9 3 8 2 1 7 0
R: 0 5 6 0 9 8 2 0 0
REVIEW thread 3 sleeping 1
Slot [1] filled by REVIEW thread (3)..EXIT..
#Trials (4), Sleep Total (22), #Remaining Threads (4)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 4 5 9 3 8 2 1 7 0
R: 3 5 6 0 9 8 2 0 0
REVIEW thread 1 sleeping 6
REVIEW thread 7 sleeping 6
REVIEW thread 4 sleeping 9
SUBMIT thread 6 sleeping 6
SUBMIT thread 6 sleeping 4
REVIEW thread 4 sleeping 6
REVIEW thread 1 sleeping 9
REVIEW thread 7 sleeping 9
REVIEW thread 4 sleeping 3
REVIEW thread 7 sleeping 4
Slot [4] filled by REVIEW thread (7)..EXIT..
#Trials (5), Sleep Total (37), #Remaining Threads (3)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 4 5 9 3 8 2 1 7 0
R: 3 5 6 7 9 8 2 0 0
SUBMIT thread 6 sleeping 8
REVIEW thread 1 sleeping 8
Slot [8] filled by REVIEW thread (1)..EXIT..
#Trials (5), Sleep Total (40), #Remaining Threads (2)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 4 5 9 3 8 2 1 7 0
R: 3 5 6 7 9 8 2 1 0
REVIEW thread 4 sleeping 7
SUBMIT thread 6 sleeping 6
REVIEW thread 4 sleeping 9
SUBMIT thread 6 sleeping 9
Slot [9] filled by SUBMIT thread (6)..EXIT..
#Trials (9), Sleep Total (54), #Remaining Threads (1)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 4 5 9 3 8 2 1 7 6
R: 3 5 6 7 9 8 2 1 0
REVIEW thread 4 sleeping 9
Slot [9] filled by REVIEW thread (4)..EXIT..
#Trials (8), Sleep Total (59), #Remaining Threads (0)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 4 5 9 3 8 2 1 7 6
R: 3 5 6 7 9 8 2 1 4
This is the LAST Thread (REVIEW)
--------- summery ------------
Total Number of Trials 61
Average: 3
Number of trials details:
I: 1 2 3 4 5 6 7 8 9
S: 1 1 2 3 3 9 3 1 2
R: 5 4 4 8 2 3 5 2 3
Sleeps details:
I: 1 2 3 4 5 6 7 8 9
S: 7 6 11 14 11 54 19 5 8
R: 40 12 22 59 11 13 37 14 21
0.00u 0.00s 1:00.23 0.0
[antares] ~/public_html/spring12/assignments/a3/.wahab>time SubRev
STARING SUBMIT THREAD 1
STARING SUBMIT THREAD 2
STARING SUBMIT THREAD 3
STARING SUBMIT THREAD 4
STARING SUBMIT THREAD 5
STARING SUBMIT THREAD 6
STARING SUBMIT THREAD 7
STARING SUBMIT THREAD 8
STARING SUBMIT THREAD 9
STARING REVIEW THREAD 1
STARING REVIEW THREAD 2
STARING REVIEW THREAD 3
STARING REVIEW THREAD 4
STARING REVIEW THREAD 5
STARING REVIEW THREAD 6
STARING REVIEW THREAD 7
STARING REVIEW THREAD 8
STARING REVIEW THREAD 9
SUBMIT thread 1 sleeping 1
Slot [1] filled by SUBMIT thread (1)..EXIT..
#Trials (1), Sleep Total (1), #Remaining Threads (17)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 1 0 0 0 0 0 0 0 0
R: 0 0 0 0 0 0 0 0 0
SUBMIT thread 2 sleeping 1
SUBMIT thread 3 sleeping 1
SUBMIT thread 4 sleeping 1
SUBMIT thread 6 sleeping 1
REVIEW thread 7 sleeping 4
REVIEW thread 9 sleeping 4
SUBMIT thread 4 sleeping 4
Slot [4] filled by SUBMIT thread (4)..EXIT..
#Trials (2), Sleep Total (5), #Remaining Threads (16)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 1 0 0 4 0 0 0 0 0
R: 0 0 0 0 0 0 0 0 0
REVIEW thread 1 sleeping 5
REVIEW thread 3 sleeping 5
REVIEW thread 4 sleeping 5
REVIEW thread 5 sleeping 5
REVIEW thread 6 sleeping 5
REVIEW thread 8 sleeping 5
SUBMIT thread 2 sleeping 5
Slot [5] filled by SUBMIT thread (2)..EXIT..
#Trials (2), Sleep Total (6), #Remaining Threads (15)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 1 0 0 4 2 0 0 0 0
R: 0 0 0 0 0 0 0 0 0
SUBMIT thread 6 sleeping 5
REVIEW thread 2 sleeping 6
REVIEW thread 4 sleeping 1
Slot [1] filled by REVIEW thread (4)..EXIT..
#Trials (2), Sleep Total (6), #Remaining Threads (14)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 1 0 0 4 2 0 0 0 0
R: 4 0 0 0 0 0 0 0 0
REVIEW thread 3 sleeping 2
SUBMIT thread 3 sleeping 7
Slot [7] filled by SUBMIT thread (3)..EXIT..
#Trials (2), Sleep Total (8), #Remaining Threads (13)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 1 0 0 4 2 0 3 0 0
R: 4 0 0 0 0 0 0 0 0
REVIEW thread 3 sleeping 1
SUBMIT thread 5 sleeping 9
Slot [9] filled by SUBMIT thread (5)..EXIT..
#Trials (1), Sleep Total (9), #Remaining Threads (12)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 1 0 0 4 2 0 3 0 5
R: 4 0 0 0 0 0 0 0 0
SUBMIT thread 7 sleeping 9
SUBMIT thread 8 sleeping 9
SUBMIT thread 9 sleeping 9
REVIEW thread 5 sleeping 4
Slot [4] filled by REVIEW thread (5)..EXIT..
#Trials (2), Sleep Total (9), #Remaining Threads (11)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 1 0 0 4 2 0 3 0 5
R: 4 0 0 5 0 0 0 0 0
REVIEW thread 6 sleeping 4
REVIEW thread 2 sleeping 4
REVIEW thread 8 sleeping 6
REVIEW thread 1 sleeping 7
Slot [7] filled by REVIEW thread (1)..EXIT..
#Trials (2), Sleep Total (12), #Remaining Threads (10)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 1 0 0 4 2 0 3 0 5
R: 4 0 0 5 0 0 1 0 0
REVIEW thread 8 sleeping 1
REVIEW thread 9 sleeping 8
SUBMIT thread 6 sleeping 7
SUBMIT thread 9 sleeping 4
REVIEW thread 2 sleeping 3
REVIEW thread 7 sleeping 9
Slot [9] filled by REVIEW thread (7)..EXIT..
#Trials (2), Sleep Total (13), #Remaining Threads (9)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 1 0 0 4 2 0 3 0 5
R: 4 0 0 5 0 0 1 0 7
REVIEW thread 9 sleeping 1
REVIEW thread 9 sleeping 1
SUBMIT thread 7 sleeping 6
Slot [6] filled by SUBMIT thread (7)..EXIT..
#Trials (2), Sleep Total (15), #Remaining Threads (8)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 1 0 0 4 2 7 3 0 5
R: 4 0 0 5 0 0 1 0 7
SUBMIT thread 6 sleeping 2
Slot [2] filled by SUBMIT thread (6)..EXIT..
#Trials (4), Sleep Total (15), #Remaining Threads (7)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 1 6 0 4 2 7 3 0 5
R: 4 0 0 5 0 0 1 0 7
REVIEW thread 2 sleeping 3
REVIEW thread 3 sleeping 8
REVIEW thread 9 sleeping 2
Slot [2] filled by REVIEW thread (9)..EXIT..
#Trials (5), Sleep Total (16), #Remaining Threads (6)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 1 6 0 4 2 7 3 0 5
R: 4 9 0 5 0 0 1 0 7
REVIEW thread 3 sleeping 1
SUBMIT thread 8 sleeping 9
REVIEW thread 6 sleeping 9
SUBMIT thread 8 sleeping 1
REVIEW thread 8 sleeping 8
SUBMIT thread 9 sleeping 8
Slot [8] filled by SUBMIT thread (9)..EXIT..
#Trials (3), Sleep Total (21), #Remaining Threads (5)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 1 6 0 4 2 7 3 9 5
R: 4 9 0 5 0 0 1 0 7
REVIEW thread 2 sleeping 6
Slot [6] filled by REVIEW thread (2)..EXIT..
#Trials (5), Sleep Total (22), #Remaining Threads (4)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 1 6 0 4 2 7 3 9 5
R: 4 9 0 5 0 2 1 0 7
REVIEW thread 3 sleeping 6
REVIEW thread 3 sleeping 4
REVIEW thread 6 sleeping 9
SUBMIT thread 8 sleeping 9
REVIEW thread 6 sleeping 1
REVIEW thread 8 sleeping 9
REVIEW thread 8 sleeping 2
SUBMIT thread 8 sleeping 5
REVIEW thread 3 sleeping 9
REVIEW thread 6 sleeping 8
Slot [8] filled by REVIEW thread (6)..EXIT..
#Trials (6), Sleep Total (36), #Remaining Threads (3)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 1 6 0 4 2 7 3 9 5
R: 4 9 0 5 0 2 1 6 7
REVIEW thread 3 sleeping 2
REVIEW thread 8 sleeping 7
SUBMIT thread 8 sleeping 8
REVIEW thread 3 sleeping 3
REVIEW thread 8 sleeping 3
REVIEW thread 3 sleeping 1
REVIEW thread 8 sleeping 1
SUBMIT thread 8 sleeping 5
SUBMIT thread 8 sleeping 3
Slot [3] filled by SUBMIT thread (8)..EXIT..
#Trials (8), Sleep Total (49), #Remaining Threads (2)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 1 6 8 4 2 7 3 9 5
R: 4 9 0 5 0 2 1 6 7
REVIEW thread 3 sleeping 7
REVIEW thread 8 sleeping 8
REVIEW thread 3 sleeping 6
REVIEW thread 3 sleeping 2
REVIEW thread 8 sleeping 8
REVIEW thread 3 sleeping 4
REVIEW thread 8 sleeping 7
REVIEW thread 8 sleeping 2
REVIEW thread 3 sleeping 9
REVIEW thread 3 sleeping 5
Slot [5] filled by REVIEW thread (3)..EXIT..
#Trials (17), Sleep Total (75), #Remaining Threads (1)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 1 6 8 4 2 7 3 9 5
R: 4 9 0 5 3 2 1 6 7
REVIEW thread 8 sleeping 8
REVIEW thread 8 sleeping 6
REVIEW thread 8 sleeping 4
REVIEW thread 8 sleeping 9
REVIEW thread 8 sleeping 2
REVIEW thread 8 sleeping 4
REVIEW thread 8 sleeping 3
Slot [3] filled by REVIEW thread (8)..EXIT..
#Trials (20), Sleep Total (103), #Remaining Threads (0)
Board State:
I: 1 2 3 4 5 6 7 8 9
S: 1 6 8 4 2 7 3 9 5
R: 4 9 8 5 3 2 1 6 7
This is the LAST Thread (REVIEW)
--------- summery ------------
Total Number of Trials 86
Average: 4
Number of trials details:
I: 1 2 3 4 5 6 7 8 9
S: 1 2 2 2 1 4 2 8 3
R: 2 5 17 2 2 6 2 20 5
Sleeps details:
I: 1 2 3 4 5 6 7 8 9
S: 1 6 8 5 9 15 15 49 21
R: 12 22 75 6 9 36 13 103 16
0.00u 0.01s 1:44.39 0.0