/disk-scheduling-algorithms

Disk scheduling GUI program

Primary LanguagePython

disk-scheduling-algorithms

#python

Usage

  • Calculator disk scheduling: SSTF, SCAN, FCFS, C_SCAN, LOOK, C_LOOK,
  • Charting

Image

Image of CanhhnaC Image of CanhhnaC Image of CanhhnaC

⚙️ Setup your own

# requirement:
 Python 3.7

# Clone repo
 $ git clone https://github.com/CanhhnaC/disk-scheduling-algorithms.git
 
 $ cd disk-scheduling-algorithms
 
# Create a virtualenv (Optional but recomment)
 $ python3 -m venv venv
 
# Activate the virtualenv
 $ venv/bin/activate  (Linux)
 & venv/Script/Activate.ps1 (Windows)

# Install all dependencies
 $ pip install -r requirements.txt

⚠️ When error AttributeError: module 'time' has no attribute 'clock': ( >=python 3.8)

  • Go to: /venv/lib/site-packages/pyqtgraph
  • In file: ptime.py
  • Change systime.clock() to systime.perf_counter()