Task Structure
Task Structure
– Value of ei depends upon complexity of the job and speed of the processor on which it is scheduled;
may change for a variety of reasons:
• Conditional branches
• Cache memories and/or pipelines
• Compression (e.g. MPEG video frames)
– Execution times fall into an interval [ei−, ei +]; assume that we know this interval for every hard real-
time job, but not necessarily the actual ei
• Terminology: (x, y] is an interval starting immediately after x, continuing up to and including
• Often, we can validate a system using ei + for each job; we assume ei = ei+ and
ignore the interval lower bound
– Inefficient, but safe bound on execution time
Release and Response Time
• Release time – the instant in time when a job becomes available for
execution
– May not be exact: Release time jitter so ri is in the interval [ri−, ri+]
– A job can be scheduled and executed at any time at, or after, its release time, provided its data and
control dependency conditions are met
• Response time – the length of time from the release time of the job to the time
instant when it completes
– Not the same as execution time, since may not execute continually
Deadline and Timing Constraint
• Completion time – the instant at which a job completes execution
• Relative deadline – the maximum allowable response time of a job
• Absolute deadline – the instant of time by which a job is required to be completed (often called
simply the deadline)
– absolute deadline = release time + relative deadline
– Feasible interval for a job Ji is the interval (ri, di)
• The periodic computations can be stated in terms of release times of the jobs computing the
control-law: J0, J1, …, Jk, …