Queuing system
Facility Box("Server");
Histogram Table("Table of time spent in system",0,25,20);
class Customer : public Process {
double ArrivalTime;
void Behavior() {
Seize(Box);
Wait(10);
Release(Box);
}
};
class Generator : public Event {
void Behavior() {
}
};
Box.Output();
Table.Output();
}