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.

• Reduce the execution jitter of the task– Increase the clock rate of your microprocessor.– Increase the time between tick interrupts.– Rearrange task priorities.– Avoid using floating-point math (if you must, use single precision).– Get a compiler that performs better code optimization.– Write time-critical code in assembly language.– If possible, upgrade to a faster microprocessor in the same family,e.g., 8086 to 80186, 68000 to 68020, etc.2-53Homework 2• Under 80x86 PC with uCOS-II to design a clock/stopwatchsystem– The clock system and stopwatch system can be operatedconcurrently (i.e., when we are setting the clock time, thestopwatch system also can work normally)HH:MM:SSSS:xxDirection: how to operation the clocksystem and stopwatch system withkeyboard2-54

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

Saved successfully!

Ooh no, something went wrong!