Ejemplo n.º 1
0
 public void Reset()
 {
     Continue         = Apps.Where(x => x.InOrder).ToList().Count > 0; // Should only be true if we have chains.
     _completedChains = 0;
     Apps.ForEach(x => x.Reset());
     Deadlines.ForEach(x => x.Reset());
     Jitters.ForEach(x => x.Reset());
     Schedules.ForEach(x => x.Reset());
 }
Ejemplo n.º 2
0
        public void EvalJitter(Job task)
        {
            RelativeJitter jitter = new RelativeJitter(task);

            if (!eventMap.ContainsKey(task.Name))
            {
                eventMap.Add(task.Name, new List <IMeasurement>());
            }
            Jitters.Add(jitter);
            eventMap[task.Name].Add(jitter);
        }