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

Method Start

processor.go:49–63  ·  view source on GitHub ↗

Start begins processing a given job. The return value is the amount of time it'll take to process the job. This method will throw an error if called when there's already a job being processed: that job needs to be finished first.

(j *Job)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 14

TestProcessorStartFunction · 0.95
TestProcessorFinishFunction · 0.95
TestBeforeStartFunction · 0.95
TestAfterStartFunction · 0.95
TestBeforeFinishFunction · 0.95
TestAfterFinishFunction · 0.95
TestShortestQueueArrBehFunction · 0.80
assignMethod · 0.80
InitMethod · 0.80
BeforeFirstTickMethod · 0.80

Calls 3

beforeStartMethod · 0.95
afterStartMethod · 0.95
FinishMethod · 0.95

Tested by 8

TestProcessorStartFunction · 0.76
TestProcessorFinishFunction · 0.76
TestBeforeStartFunction · 0.76
TestAfterStartFunction · 0.76
TestBeforeFinishFunction · 0.76
TestAfterFinishFunction · 0.76
TestShortestQueueArrBehFunction · 0.64