https://github.com/userkace/cpu-flow
an srt and rr cpu scheduling visualizer
https://github.com/userkace/cpu-flow
Last synced: about 1 year ago
JSON representation
an srt and rr cpu scheduling visualizer
- Host: GitHub
- URL: https://github.com/userkace/cpu-flow
- Owner: userkace
- Created: 2025-03-27T10:26:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-31T03:30:12.000Z (over 1 year ago)
- Last Synced: 2025-07-01T10:02:18.556Z (about 1 year ago)
- Language: CSS
- Homepage: https://cpu-flow.pages.dev
- Size: 5.25 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🖥️ cpu-flow
CPU Flow is a web application designed to simulate and visualize CPU scheduling algorithms, specifically **Shortest Remaining Time (SRT)** and **Round Robin (RR)**. It is a handy tool for students, educators, and enthusiasts looking to understand how operating systems manage process scheduling.
## Features
- **Shortest Remaining Time (SRT) Scheduling:**
Simulate process scheduling using the SRT algorithm where the process with the smallest amount of time remaining is selected next.
- **Round Robin (RR) Scheduling:**
Explore process scheduling using the Round Robin algorithm with customizable time quantum, ensuring all processes receive equal CPU time.
- **Interactive Interface:**
User-friendly and responsive design that clearly displays scheduling outcomes, including Gantt charts and metrics such as waiting time and turnaround time.
- **Web-Based Application:**
Accessible directly from your browser with no additional installation required for quick and easy access.
## Live Demo
Experience the application live at [CPU Flow](https://cpu-flow.pages.dev/).
## Getting Started
### Prerequisites
- A modern web browser (e.g., Chrome, Firefox, Safari, Edge).
## Usage
1. **Select the Scheduling Algorithm:**
Choose between Shortest Remaining Time (SRT) and Round Robin (RR) from the available options.
2. **Input Process Parameters:**
- For SRT: Provide arrival times and burst times for each process.
- For RR: Provide arrival times, burst times, and the time quantum.
3. **Run the Simulation:**
Click on the "Calculate" button to run the scheduling simulation.
4. **View the Results:**
The app will display a Gantt chart along with key metrics such as waiting times and turnaround times, helping you visualize how the processes are managed.
---
Feel free to explore, provide feedback, and contribute to making CPU Flow a comprehensive tool for understanding CPU scheduling algorithms!