Embedded Electronics-Real-time software-Introduction


=-Related Posts:
Embedded Systems Programming and Simulation Using Flow Code
Karnaugh_Maps-Digital Electronics Tutorials
Micro-controllers-Basic Introduction Tutorials
In the domain of simulations, the term means that the simulation's clock runs as fast as a real clock. In the processing and enterprise systems domains, the term is used to mean 'without perceivable delay'.
Real-time software may use one or more of the following: synchronous programming languages, real-time operating systems, and real-time networks, each of which provide essential frameworks on which to build a real-time software application.
"Software that must read input changes when they occur and change outputs predictably,within a certain time limit"
- Real-time software programming is typically driven by interrupts
- Not necessarily fast code – simply has to meet time constraints
- Hard real-time = Failure results in a catastrophe, loss of human life.Examples- Nuclear reactor, Aeroplane etc.
- Soft real-time = Failure results in loss of data, loss of value.Examples-Airline reservation system, stock market etc.
- Best-effort = No penalty for missing time.Examples-Email, web surfing etc.