|
TL32 Datasheet, PDF (12/31 Pages) List of Unclassifed Manufacturers – Real Time System Testing MIT 16.070 Lecture 32 | |||
|
◁ |
Exception Handling Methods - The Tradeoff
⢠On the one hand, exception handling can guard against problems such
as:
â Erroneous mathematical conditions (divide by zero, overflow)
â Tasks that hang waiting for inputs that will never come (due to
failed hardware, poor communication link, software bug etc.)
â Poor reactions to missed deadlines
⢠On the other hand, putting in all of this exception handling takes up
resources (CPU time and memory) that must be worth the trade-off
⢠You must balance the two to achieve a robust software design that
works within the timing and sizing constraints of the system
hperry
5/4/01
|
▷ |