BeforeEvents runs at every tick when a simulation event happens (a Job arrives in the system, or a Job finishes processing and leaves the system). BeforeEvents is called after all the events for the tick in question have finished. In this example, we use BeforeEvents to calculate stats about the sy
(clock int)