Os Project Report
Os Project Report
Appendix
A. AI-Generated Project Elaboration/Breakdown Report
This project is a web-based Real-Time Operating System (RTOS)
Simulator for wearable devices. It allows users to select tasks to
execute based on the Rate Monotonic Scheduling (RMS) algorithm.
The platform also provides an Admin Panel to modify task deadlines
dynamically.
Features
User Panel for task selection.
Admin Panel for modifying task deadlines.
Dynamic task scheduling using Rate Monotonic Scheduling
(RMS) algorithm.
Real-time display of:
o Ongoing Processes
o Queued Processes
o Completed Processes
Setup Instructions
1. Clone the repository. git clone <repository_url> cd
<repository_folder>
2. Open the index.html file directly in your browser.
How to Use the Simulator
User Panel
1. Select the desired tasks by checking the corresponding
checkboxes:
o See Time
o Listen to Music
o Monitor Heartbeat
o Attend Phone Call
o Send Message
2. Click the "Start Tasks" button to begin task execution.
3. Tasks will be displayed in the following sections:
o Ongoing Processes
o Queued Processes
o Completed Processes
Admin Panel
1. Select a task from the dropdown list.
2. Enter the new deadline in milliseconds.
3. Click the "Add/Change Task Deadline" button to update the
task's deadline.
Task Details (Default Deadlines)
Troubleshooting
If tasks are not displayed correctly:
o Ensure all file paths are correctly referenced in the HTML.
o Check the console log for JavaScript errors.
For delayed execution, verify the deadline values entered in the
Admin Panel.
B. Problem Statement:
The project aims to create a real-time operating system simulator for
wearable devices, allowing users to execute tasks dynamically and
manage scheduling constraints efficiently.
C. Solution/Code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-
scale=1.0">
<title>RTOS Simulator</title>
<script src="https://cdn.tailwindcss.com"></script>
<!-- <link rel="stylesheet" href="../output.css"/> -->
</head>
<body class="bg-gray-100 ">
<div class="bg-blue-950 p-4 mb-4 flex justify-center items-center">
<h1 class="text-3xl font-bold text-center text-white">
Wearable Device RTOS Simulator
</h1>
</div>
<div class="max-w-4xl mx-auto ">
<div>
<!-- class="grid grid-rows-2 gap-4"> -->
<script src="script.js"></script>
</body>
</html>