11.07.2015 Views

Chapter 2 Real-Time Systems Concepts Foreground/Background ...

Chapter 2 Real-Time Systems Concepts Foreground/Background ...

Chapter 2 Real-Time Systems Concepts Foreground/Background ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Clock Tick• A special interrupt that occurs periodically• Allows kernel to delay task for an internal number of clockticks• To provide timeout when task are waiting for event tooccur• The faster the tick rate, the higher the overhead imposed onthe system2-49Figure 2.25 delaying a task for one tick (case 1)Tick Interrupt20 mSTick ISRAll higher priority tasksDelayed TaskCall to delay 1 tick (20 mS)Call to delay 1 tick (20 mS)Call to delay 1 tick (20 mS)t1(19 mS)t2(17 mS)t3(27 mS)Due to the higher priority tasks and the ISRs execute prior to the delayed task, thedelayed task actually executes at varying intervals ( we call this variance is jitter)2-50

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!