Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Aptitude
  • Engineering Mathematics
  • Discrete Mathematics
  • Operating System
  • DBMS
  • Computer Networks
  • Digital Logic and Design
  • C Programming
  • Data Structures
  • Algorithms
  • Theory of Computation
  • Compiler Design
  • Computer Org and Architecture
Open In App
Next Article:
Classification of Events in Real-time System
Next article icon

Classification of Events in Real-time System

Last Updated : 09 May, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

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 then timing constraints are categorized accordingly.

Classification of Events

1. On the Basis of Timing Urgency

Hard Real-Time Events: These events must be completed within strict deadlines. Missing a deadline can lead to catastrophic failure or system breakdown. Such events are critical for the system's correct functioning, and they cannot tolerate any delays.

Examples: Safety-critical systems like airbags in cars or medical devices.

Hard-real-time_
Hard real-time events

Soft Real-Time Events: These events must be completed in a timely manner, but missing the deadline occasionally does not result in system failure. However, the performance of the system can degrade if deadlines are frequently missed.

Examples: Video streaming applications or online gaming, where occasional delays may affect the quality but not the overall functionality.

Soft-real-time
Soft real-time events

Firm Real-Time Events: These events must be completed within their deadlines, but missing a deadline does not result in catastrophic failure. However, missing deadlines too often results in significant performance degradation. Firm real-time events balance between hard and soft real-time systems.

Example: A stock trading system where timely processing is critical, but occasional deadline misses may not lead to complete failure.

Firm-real-time_
Firm real-time events

2. On the Basis of Arrival Pattern

Periodic Events: These events occur at regular, predictable intervals. The system knows exactly when the event will occur, and it has a fixed periodicity.

Example: Sensor readings that occur every second or clock ticks in embedded systems.

file
Periodic Events

Aperiodic Events: These events occur at unpredictable times without any specific regularity or fixed intervals. The timing of these events is unknown until they happen.

Example: User input or external triggers like incoming network requests.

Aperiodic--Tasks
Aperiodic Events

Sporadic Events: These are similar to aperiodic events, but they have a known minimum inter-arrival time between occurrences. Although the exact arrival times are not predictable, they are spaced apart by at least a defined interval.

Example: A network packet arriving sporadically but at least 10 milliseconds apart.

Sporadic-Tasks
Sporadic Events

3. 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. Example :

  • 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. Example :

  • Measuring of temperature is a durational event.
  • All the computational events inside computer system are durational events.

4. On the Basis of Response

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. Example :

  • 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. Example :

  • Alarm ringing at 4 o’clock is a response event.
  • Switching off the induction at temperature exceeding 100 degree.

5. On the Basis of Criticality

Critical Events: These events are essential for the system's core functionality and failure to process them in time can result in significant consequences, including system failure, loss of critical data, or safety hazards. Example:

  • Real-time monitoring systems
  • Medical devices
  • Flight control systems

Non-Critical Events: These events are not essential for the core functionality of the system and can tolerate delays or even be missed without causing significant problems. Non-critical events often relate to background tasks or low-priority operations. Example:

  • Data backups
  • Routine maintenance tasks.

Read more about Real-time System.


Next Article
Classification of Events in Real-time System

P

pp_pankaj
Improve
Article Tags :
  • Operating Systems

Similar Reads

    Applications of Real-time System
    Real Time System is a system that is put through real time which means response is obtained within a specified timing constraint or system meets the specified deadline.Real time system is of two types - Hard and Soft. Both are used in different cases. Hard real time systems are used where even the d
    3 min read
    Conditioning in Real-time Systems
    In a real-time system, there are various components in it. It has sensor, actuator, conditioning units and interface units. The signals generated by the sensor can't be used directly by the interface unit. Similarly the signals produced by the computer can't be used directly by the actuator in the r
    4 min read
    Basic Model of a Real-time System
    Real-time System is a system that is used for performing some specific tasks. These tasks are related with time constraints and need to be completed in that time interval. Basic Model of a Real-time System: The basic model of a real-time system presents the overview of all the components involved in
    3 min read
    Characteristics of Real-time Systems
    Real-time System is a system that is put through real time which means response is obtained within a specified timing constraint or system meets the specified deadline.Real time system is of two types - Hard and Soft. Both are used in different cases. Hard real time systems are used where even the d
    4 min read
    Timing Constraints in Real-time System
    Timing constraints is a vital attribute in real-time systems. Timing constraints decides the total correctness of the result in real-time systems. The correctness of results in real-time system does not depends only on logical correctness but also the result should be obtained within the time constr
    3 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences