/cpu-scheduling-simulator

Simulate different CPU Scheduling Algorithms and plots the performance graph.

Primary LanguagePythonMIT LicenseMIT

CPU-Scheduling-Simulator

Python project to simulate cpu-scheduling

Documentaion

See Project Documentation Here

Up and Running

To run the project

  • install dependencies.
    • pip install -e . (if in virtual environment)
    • python setup.py install (otherwise)
  • in the project root directory run python main.py

developing

  1. Clone the project

    • git clone https://github.com/RohitKaushal7/cpu-scheduling-simulator.git
    • navigate to the project directory.
    • create/navigate to your branch. git branch -b <your-name>
  2. Create a virtual environment.

    • if you don't have virtualenv installed install using pip. pip install virtualenv
    • create virtual environment. virtualenv env
  3. Activate virtual env.

    • source env/bin/activate
    • when you are done doing stuff you can deactivate virtual env writing directly deactivate
  4. install dependencies and setup tools. pip install -e .

  5. Do stuff.

Contributors