Skip to content

A web-based tool for understanding and comparing CPU scheduling algorithms. Users can input process arrival and burst times, select scheduling algorithms, and visualize task execution.

License

Notifications You must be signed in to change notification settings

manishkmr49/CPU-Scheduling-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💻 CPU Scheduling Simulator

The CPU Scheduling Simulator is a web-based application designed to help users understand and compare different CPU scheduling algorithms. With an intuitive user interface, users can input arrival times and burst times of processes and select from various scheduling algorithms to see how each one handles task execution.

🌟 Features

  • User-Friendly Interface: A simple and intuitive interface for inputting process details and selecting scheduling algorithms.
  • Algorithm Selection: Choose from various CPU scheduling algorithms, including:
    • 🕒 First Come First Serve (FCFS)
    • 🏃‍♂️ Shortest Job First (SJF)
    • ⏳ Shortest Remaining Time First (SRTF)
    • 🔄 Round Robin (RR)
  • Interactive Visualization: Generates an interactive Gantt chart to visualize the scheduling sequence and observe process execution over time.
  • Output Analysis: Displays detailed output, including:
    • ⏱️ Finish times
    • 🔄 Turnaround times
    • ⏳ Waiting times for each process
    • 📊 Average turnaround and waiting times
  • GitHub Integration: Includes a link to the GitHub repository for easy access to the source code and collaboration.

🛠️ Technologies Used

  • HTML: Structuring the web page layout and content.
  • CSS: Styling the appearance of the web page and components.
  • JavaScript: Implementing CPU scheduling algorithms and interactivity.
  • jQuery: Simplifying DOM manipulation and event handling.
  • dotLottie: Integrating Lottie animations for visual appeal.
  • GitHub: Hosting the project repository for version control and collaboration.

🚀 Usage

  1. Clone the repository to your local machine:

    git clone https://github.com/manishkmr49/CPU-Scheduling-Simulator.git
    
  2. Open index.html in a web browser.

  3. Input arrival times and burst times of processes.

  4. Select a scheduling algorithm from the dropdown menu.

  5. Click the "Solve" button to run the simulation.

  6. View the output table and Gantt chart to analyze the scheduling results.

🤝Contributing

Contributions are welcome! If you have any ideas for improvements or new features, feel free to open an issue or submit a pull request.

📄License

This project is licensed under the MIT License.

About

A web-based tool for understanding and comparing CPU scheduling algorithms. Users can input process arrival and burst times, select scheduling algorithms, and visualize task execution.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published