echo Barrier-sim ; make -k -C Barrier-sim ;  echo Barrier-cpu ; make -k -C Barrier-cpu ;  echo Sem-cpu ; make -k -C Sem-cpu ;  echo EventSequence-cpu ; make -k -C EventSequence-cpu ;  echo ParallelMalloc ; make -k -C ParallelMalloc ;  echo Phil-1 ; make -k -C Phil-1 ;  echo Phil-2 ; make -k -C Phil-2 ;  echo Phil-3 ; make -k -C Phil-3 ;  echo Phil-4 ; make -k -C Phil-4 ;  echo MM1 ; make -k -C MM1 ;  echo Random ; make -k -C Random ;  echo SR ; make -k -C SR ; 
Barrier-sim
g++ -g -I. -I../../Obj-g++-dec-mips -I../../Src -O -c Main.cc
g++ -g -I. -I../../Obj-g++-dec-mips -I../../Src -O -c BarrierTest.cc
g++ -g -I. -I../../Obj-g++-dec-mips -I../../Src -O -c ControlTask.cc
g++ -g -I. -I../../Obj-g++-dec-mips -I../../Src  -O   -o main Main.o BarrierTest.o ControlTask.o  -L../../Obj-g++-dec-mips -lawe2 -lm -lg++
time main
From = 50 and to = 150
with 1 cpus
Build testers..
Let everyone rendezvous
..0....1....2....3....4....5....6....7....8....9..Build testers..
Let everyone rendezvous
..0....1....2....3....4....5....6....7....8....9..Build testers..
Let everyone rendezvous
..0....1....2....3....4....5....6....7....8....9..Done!
       18.2 real        16.7 user         0.1 sys  
Barrier-cpu
g++ -I. -I../../Obj-g++-dec-mips -I../../Src -O -c Main.cc
g++ -I. -I../../Obj-g++-dec-mips -I../../Src -O -c BarrierTest.cc
g++ -I. -I../../Obj-g++-dec-mips -I../../Src -O -c ControlTask.cc
g++  -I. -I../../Obj-g++-dec-mips -I../../Src  -O   -o main Main.o BarrierTest.o ControlTask.o  -L../../Obj-g++-dec-mips -lawe2 -lm -lg++
time main
From = 50 and to = 150
with 1 cpus
Build testers..
Let everyone rendezvous
Now, begin the tests..
..0....1....2....3....4....5....6....7....8....9..Build testers..
Let everyone rendezvous
Now, begin the tests..
..0....1....2....3....4....5....6....7....8....9..Build testers..
Let everyone rendezvous
Now, begin the tests..
..0....1....2....3....4....5....6....7....8....9..Exiting..
Done!
There are 119 tasks at the barrier 
       13.7 real        12.4 user         0.1 sys  
Sem-cpu
g++ -g -O -I. -I../../Obj-g++-dec-mips -I../../Src -O -c Main.cc
g++ -g -O -I. -I../../Obj-g++-dec-mips -I../../Src -O -c SemTest.cc
SemTest.cc: In method `SemTest::SemTest (int, int)':
SemTest.cc:20: warning: ANSI C++ forbids old style base class initialization
g++ -g -O -I. -I../../Obj-g++-dec-mips -I../../Src -O -c ControlTask.cc
ControlTask.cc: In method `ControlTask::ControlTask (int, int, int)':
ControlTask.cc:17: warning: ANSI C++ forbids old style base class initialization
g++ -g -O -I. -I../../Obj-g++-dec-mips -I../../Src  -O   -o main Main.o SemTest.o ControlTask.o  -L../../Obj-g++-dec-mips -lawe2 -lm -lg++
time main
From = 50 and to = 150
with 2 cpus
Build testers..will do 2 reserves
Semtest-149 1st semtest after rendezvous
TheDataValue == 1500
TotalShouldBe == 1500
Done!
TotalShouldBe = 1500
TheDataValue  = 1500
        0.7 real         0.1 user         0.1 sys  
EventSequence-cpu
g++ -g -O -I. -I../../Obj-g++-dec-mips -I../../Src -O -c Main.cc
g++ -g -O -I. -I../../Obj-g++-dec-mips -I../../Src -O -c EventTest.cc
EventTest.cc: In method `EventTest::EventTest (int, int)':
EventTest.cc:16: warning: ANSI C++ forbids old style base class initialization
g++ -g -O -I. -I../../Obj-g++-dec-mips -I../../Src -O -c ControlTask.cc
ControlTask.cc: In method `ControlTask::ControlTask (int, int, int)':
ControlTask.cc:17: warning: ANSI C++ forbids old style base class initialization
g++ -g -O -I. -I../../Obj-g++-dec-mips -I../../Src  -O   -o main Main.o EventTest.o ControlTask.o  -L../../Obj-g++-dec-mips -lawe2 -lm -lg++
time main
From = 50 and to = 150
with 2 cpus
Build testers..will do 2 reserves
EventTest-149 1st semtest after rendezvous
TheDataValue == 300
TotalShouldBe == 300
Done!
TotalShouldBe = 300
TheDataValue  = 300
        0.6 real         0.0 user         0.1 sys  
ParallelMalloc
g++ -I. -I../../Obj-g++-dec-mips -I../../Src -O -c Main.cc
g++ -I. -I../../Obj-g++-dec-mips -I../../Src -O -c MallocTask.cc
MallocTask.cc: In method `MallocTask::MallocTask (int, int, int)':
MallocTask.cc:9: warning: ANSI C++ forbids old style base class initialization
MallocTask.cc: In method `void  MallocTask::main ()':
MallocTask.cc:25: warning: ANSI C++ forbids implicit conversion from `void *' in initialization
g++  -I. -I../../Obj-g++-dec-mips -I../../Src  -O   -o main Main.o MallocTask.o  -L../../Obj-g++-dec-mips -lawe2 -lm -lg++
time main
From = 50 and to = 500
with 2 cpus
Allocate task to malloc 50 sized chunks
Allocate task to malloc 150 sized chunks
Allocate task to malloc 250 sized chunks
Allocate task to malloc 350 sized chunks
Allocate task to malloc 450 sized chunks
Done!
        0.8 real         0.3 user         0.0 sys  
Phil-1
g++ -I. -I../../Obj-g++-dec-mips -I../../Src -O -g -c Main.cc
g++ -I. -I../../Obj-g++-dec-mips -I../../Src -O -g -c Table.cc
g++ -I. -I../../Obj-g++-dec-mips -I../../Src -O -g -c Phil.cc
Phil.cc: In method `Phil::Phil (int)':
Phil.cc:15: warning: ANSI C++ forbids old style base class initialization
g++  -I. -I../../Obj-g++-dec-mips -I../../Src  -O -g  -o main Main.o Table.o Phil.o  -L../../Obj-g++-dec-mips -lawe2 -lm -lg++
time main
Phil-0 using forks 0 and 1
Phil-0 gets to eat
Phil-0 gets to eat
Phil-0 gets to eat
Phil-0 gets to eat
Phil-0 gets to eat
Phil-0 gets to eat
Phil-0 gets to eat
Phil-0 gets to eat
Phil-0 gets to eat
Phil-0 gets to eat
Phil-0 wanders off to burb awhile
Phil-1 using forks 1 and 2
Phil-1 wanders off to burb awhile
Phil-2 using forks 2 and 3
Phil-2 wanders off to burb awhile
Phil-3 using forks 3 and 4
Phil-3 wanders off to burb awhile
Phil-4 using forks 4 and 0
Phil-4 wanders off to burb awhile
All done!
        0.5 real         0.0 user         0.0 sys  
Phil-2
g++ -I. -I../../Obj-g++-dec-mips -I../../Src -O -g -c Main.cc
g++ -I. -I../../Obj-g++-dec-mips -I../../Src -O -g -c Table.cc
g++ -I. -I../../Obj-g++-dec-mips -I../../Src -O -g -c Phil.cc
Phil.cc: In method `Phil::Phil (int)':
Phil.cc:15: warning: ANSI C++ forbids old style base class initialization
g++  -I. -I../../Obj-g++-dec-mips -I../../Src  -O -g  -o main Main.o Table.o Phil.o  -L../../Obj-g++-dec-mips -lawe2 -lm -lg++
time main
Phil-0 using forks 0 and 1
Phil-1 using forks 1 and 2
Phil-2 using forks 2 and 3
Phil-3 using forks 3 and 4
Phil-4 using forks 4 and 0
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 wanders off to burb awhile
Phil-0 wanders off to burb awhile
Phil-1 wanders off to burb awhile
Phil-2 wanders off to burb awhile
Phil-3 wanders off to burb awhile
All done!
        0.5 real         0.0 user         0.1 sys  
Phil-3
g++ -I. -I../../Obj-g++-dec-mips -I../../Src -O -g -c Main.cc
g++ -I. -I../../Obj-g++-dec-mips -I../../Src -O -g -c Table.cc
g++ -I. -I../../Obj-g++-dec-mips -I../../Src -O -g -c Phil.cc
Phil.cc: In method `Phil::Phil (int)':
Phil.cc:15: warning: ANSI C++ forbids old style base class initialization
g++  -I. -I../../Obj-g++-dec-mips -I../../Src  -O -g  -o main Main.o Table.o Phil.o  -L../../Obj-g++-dec-mips -lawe2 -lm -lg++
time main
Phil-0 using forks 0 and 1
Phil-1 using forks 1 and 2
Phil-2 using forks 2 and 3
Phil-3 using forks 3 and 4
Phil-4 using forks 4 and 0
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 wanders off to burb awhile
Phil-0 wanders off to burb awhile
Phil-1 wanders off to burb awhile
Phil-2 wanders off to burb awhile
Phil-3 wanders off to burb awhile
All done!
        0.5 real         0.0 user         0.0 sys  
Phil-4
g++ -I. -I../../Obj-g++-dec-mips -I../../Src -O -g -c Main.cc
g++ -I. -I../../Obj-g++-dec-mips -I../../Src -O -g -c Table.cc
g++ -I. -I../../Obj-g++-dec-mips -I../../Src -O -g -c Phil.cc
Phil.cc: In method `Phil::Phil (int)':
Phil.cc:14: warning: ANSI C++ forbids old style base class initialization
g++  -I. -I../../Obj-g++-dec-mips -I../../Src  -O -g  -o main Main.o Table.o Phil.o  -L../../Obj-g++-dec-mips -lawe2 -lm -lg++
time main
Phil-0 using forks 0 and 1
Phil-1 using forks 1 and 2
Phil-2 using forks 2 and 3
Phil-3 using forks 3 and 4
Phil-4 using forks 4 and 0
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 gets to eat
Phil-4 wanders off to burb awhile
Phil-0 wanders off to burb awhile
Phil-1 wanders off to burb awhile
Phil-2 wanders off to burb awhile
Phil-3 wanders off to burb awhile
All done!
        0.5 real         0.0 user         0.0 sys  
MM1
g++ -g -I. -I../../Obj-g++-dec-mips -I../../Src -O -c Main.cc
g++ -g -I. -I../../Obj-g++-dec-mips -I../../Src -O -c Customer.cc
g++ -g -I. -I../../Obj-g++-dec-mips -I../../Src -O -c Gen.cc
Gen.cc: In method `Gen::Gen (int, double, double)':
Gen.cc:10: warning: ANSI C++ forbids old style base class initialization
g++ -g -I. -I../../Obj-g++-dec-mips -I../../Src  -O   -o main Main.o Customer.o Gen.o  -L../../Obj-g++-dec-mips -lawe2 -lm -lg++
time main

SINGLE SERVER Queueing System:
-----------------------------
	Number of Customers   	100
	Mean InterArrival Time	1
	Mean Service Time     	0.5
[MonitorSimMux-0] Statistics for threads per tick
[MonitorSimMux-0] 137 1.89051 0.336042 0.0477326 0.0569969 0.0752915
[MonitorSimMux-0] Min = 0
[MonitorSimMux-0] Max = 2
Server utilization was : 0.583065
Server mean delay was  : 0.251408
Server mean queue was  : 0.720464
Traffic intensity = 0.5
Expected number of customers in system = 1
Variance of customers = 2
expected response time is 1

DONE
        0.6 real         0.0 user         0.0 sys  
Random
g++ -I. -I../../Obj-g++-dec-mips -I../../Src -O -c Main.cc
g++  -I. -I../../Obj-g++-dec-mips -I../../Src  -O   -o main Main.o  -L../../Obj-g++-dec-mips -lawe2 -lm -lg++
time main
asFloat:
0.961423
0.951057
0.653038
0.946025
0.0825025
0.990539
0.0155027
0.30982
0.718964
0.988474

asDouble:
0.990468
0.415205
0.514878
0.227864
0.985529
0.991661
0.477563
0.409552
0.42957
0.79862
        0.3 real         0.0 user         0.0 sys  
SR
g++ -DNO_IO -I. -I../../Obj-g++-dec-mips -I../../Src -O -g -c Main.cc
g++ -DNO_IO -I. -I../../Obj-g++-dec-mips -I../../Src -O -g -c Recv.cc
Recv.cc: In method `Recv::Recv (int)':
Recv.cc:10: warning: ANSI C++ forbids old style base class initialization
g++ -DNO_IO -I. -I../../Obj-g++-dec-mips -I../../Src -O -g -c Send.cc
Send.cc: In method `Send::Send (int, int, int)':
Send.cc:9: warning: ANSI C++ forbids old style base class initialization
g++  -DNO_IO -I. -I../../Obj-g++-dec-mips -I../../Src  -O -g  -o main Main.o Recv.o Send.o  -L../../Obj-g++-dec-mips -lawe2 -lm -lg++
time main
Create recv(0)
add recv(0) to cpu
Create recv(1)
add recv(1) to cpu
Create recv(2)
add recv(2) to cpu
Create recv(3)
add recv(3) to cpu
Create recv(4)
add recv(4) to cpu
create and add send
call fireitup 
All done!
       18.9 real        18.2 user         0.0 sys  
