70 likes | 197 Views
NET 424: REAL-TIME SYSTEMS ( Practical Part). Tutorial 5 : on lecture 4. Question 1. Assume there are 6 jobs given the following execution time and Absolute Deadline find the following for each job: 1. Latency 2. Tardiness 3. Average Latency L. Answer. 1-Latency = E(J) – D(J) :.
E N D
NET 424: REAL-TIME SYSTEMS (Practical Part) Tutorial 5 : on lecture 4 Networks and Communication Department
Question 1 • Assume there are 6 jobs given the following execution time and Absolute Deadline find the following for each job: 1. Latency 2. Tardiness 3. Average Latency L Networks and Communication Department
Answer 1-Latency = E(J) – D(J) : Networks and Communication Department
Answer (Cont.) 2. Tardiness (J) = Max [ 0, L(J) ] Networks and Communication Department
Answer (Cont.) 3- Average(L)=L = sum( |L| ) / # of jobs L = ( 3 + 2 + 2 + 7+12+11) / 6 = 37 /6 = 6.16 Networks and Communication Department
Question 2 By given 7 the tasks : A, B, C, D, E, F, G Construct the precedence graph A<C B<C C<E D<F B<D C<F D<G Networks and Communication Department
Answer 2 A C E B F D G Networks and Communication Department