GetHardDeadline() public method

public GetHardDeadline ( double startTime, double endTime ) : List
startTime double
endTime double
return List
        public void SetTask(PeriodicTask task, double startTime, double endTime)
        {
            _task = task;
            _startTime = startTime;
            _endTime = endTime;

            _listReleaseTime = _task.GetReleaseTime(_startTime, _endTime);
            _listSoftDeadline = _task.GetSoftDeadline(_startTime, _endTime);
            _listHardDeadline = _task.GetHardDeadline(_startTime, _endTime);
        }
Example #2
0
        public void SetTask(PeriodicTask task, double startTime, double endTime)
        {
            _task      = task;
            _startTime = startTime;
            _endTime   = endTime;

            _listReleaseTime  = _task.GetReleaseTime(_startTime, _endTime);
            _listSoftDeadline = _task.GetSoftDeadline(_startTime, _endTime);
            _listHardDeadline = _task.GetHardDeadline(_startTime, _endTime);
        }
        public TimeDiagram()
        {
            InitializeComponent();

            _startTime = 0;
            _endTime = 100;
            _task = new PeriodicTask("task", 5, 3, 3, 0.8, 5, 0);

            _listReleaseTime = _task.GetReleaseTime(_startTime, _endTime);
            _listSoftDeadline = _task.GetSoftDeadline(_startTime, _endTime);
            _listHardDeadline = _task.GetHardDeadline(_startTime, _endTime);
        }
Example #4
0
        public TimeDiagram()
        {
            InitializeComponent();

            _startTime = 0;
            _endTime   = 100;
            _task      = new PeriodicTask("task", 5, 3, 3, 0.8, 5, 0);

            _listReleaseTime  = _task.GetReleaseTime(_startTime, _endTime);
            _listSoftDeadline = _task.GetSoftDeadline(_startTime, _endTime);
            _listHardDeadline = _task.GetHardDeadline(_startTime, _endTime);
        }