MCPcopy Create free account
hub / github.com/danslimmon/qsim / BeforeEvents

Method BeforeEvents

grocery_test.go:86–114  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

LengthMethod · 0.80
IsIdleMethod · 0.80

Tested by

no test coverage detected