Events in a real-time System are the actions or the result of the actions that are generated by the system or the environment. An event in a real-tie system is either a instantaneous or may have certain duration. The classification of events in a real-time system is based on different theories. Once the events in real-time system are classified thereafter timing constraints are categorized accordingly.
Classification of Events :
1. On the basis of generation :
An event in a real-time system may be generated by either system of the environment. On this basis events are classified into two categories:
- Stimulus Events –
In a real-time system, stimulus events are generated by the environment. Stimulus events act on the computer system. Stimulus events are aperiodic and asynchronous. These events are not generated for a response. Stimulus events may be instantaneous or may have some duration.
- Typing on keyboard is a stimulus event that acts on the computer system.
- Measuring of temperature in a plant.
- Response Events –
In a real-time system, response events are generated by the computer system. These events act on the environment. These events are generated in response of stimulus events. Response events may be periodic or aperiodic. These events are generated for a response. Response events are generally instantaneous events.
- Alarm ringing at 4 o’clock is a response event.
- Switching off the induction at temperature exceeding 100 degree.
2. On the basis of duration :
An event in a real-time system may be instantaneous or may have some duration. On this basis events in a real-time system are classified into two categories:
- Instantaneous Events –
In a real-time system, instantaneous events are the events having duration time zero. These events may be generated by the environment or the computer system but these are generated at instant time. Instantaneous events may be stimulus events or response events.
- Pressing a key at a instant.
- Display of alert notice at any instant.
- Durational Events –
In a real-time system, duration events are the events having duration time greater than zero. These events may be generated by the environment or the computer system but these events have some duration time. Duration events may be stimulus events or response events.
- Measuring of temperature is a durational event.
- All the computational events inside computer system are durational events.
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
- Difference between Stimulus and Response Events
- System Protection in Operating System
- Allocating kernel memory (buddy system and slab system)
- User View Vs Hardware View Vs System View of Operating System
- System Programs in Operating System
- Difference between Local File System (LFS) and Distributed File System (DFS)
- File System Implementation in Operating System
- Xv6 Operating System -adding a new system call
- Traps and System Calls in Operating System (OS)
- Process Schedulers in Operating System
- Introduction of Deadlock in Operating System
- Thread in Operating System
- Paging in Operating System
- Banker's Algorithm in Operating System
- Segmentation in Operating System
- File Systems in Operating System
- Virtual Memory in Operating System
- Maximum number of Zombie process a system can handle
- Real Time Operating System (RTOS)
- Remote Procedure Call (RPC) in Operating System
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.