SetProcTimeGenerator sets the function that will generate processing times for jobs. For example, if you wanted half of the jobs to take 10 ticks to process, and the other half to take 20 ticks, you could do this: ptg := func(j *Job) int { if rand.Float32() < 0.5 { return 10 } else { return 20 } }
(ptg func(j *Job) int)
source not stored for this graph (policy: none)