Machine-translated by Google. Questions are authored in English.
Top

Discussion

A periodic task released every 20 ms with an execution time of 5 ms leaves the processor idle for

  • A.20 ms in every period, if nothing else runs
  • B.no time at all, the task being periodic
  • C.15 ms in every period, if nothing else runs
  • D.5 ms in every period, if nothing else runs

Answer: C

Correct answer: 15 ms in every period, if nothing else runs

\[ 20 - 5 = 15\ \mathrm{ms}. \] The task uses a quarter of the processor and leaves three quarters, which is the slack available for lower priority work - and the same figure expressed the other way is its utilisation of 0.25.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.