Round Robin Scheduler simulates a thread scheduler using Round Robin scheduling with priority. It provides insights into thread scheduling information and performance metrics.
- Thread Scheduling: Implements Round Robin scheduling with priority to manage thread execution.
- Performance Metrics: Calculates throughput, CPU utilization, average turnaround time, average waiting time, and average response time.
- Suspension and Resumption: Allows suspension and resumption of threads for dynamic scheduling.
Clone the Repository:
git clone https://github.com/anishvedant/Round-robin-scheduler.git
Navigate to the directory:
cd Round-robin-scheduler
pip install threading
- Open Command Prompt by pressing Win + R and typing cmd.
- Navigate to the directory where the script is saved using the cd command.
- Execute the script by typing python scheduler_simulation.py in the Command Prompt and pressing Enter.
Review the output displayed in the Command Prompt window. Follow the output for thread scheduling information and performance metrics.
Run the Script:
python3 scheduler_simulation.py
The script will simulate thread scheduling with round-robin scheduling and display performance metrics such as throughput, CPU utilization, average turnaround time, average waiting time, and average response time.
Contributions are welcome! Fork the repository and submit a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for details.
This script provides a simulation of thread scheduling and performance metrics. It is intended for educational purposes and may require adjustments for specific use cases.