snoopy831002 / CPU-Scheduling-Simulator

CPU Scheduling Simulator with C

Home Page:http://arkainoh.blogspot.kr/2016/09/CPU.scheduling.simulator.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CPU Scheduling Simulator


Demo:


Language:

  • C

Compiler:

  • gcc (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609
    Copyright (C) 2015 Free Software Foundation, Inc.

Algorithms:

Details are covered in Report.pdf

  • FCFS (First Come First Served)
  • SJF (Shortest Job First)
  • Priority
  • Round Robin
  • LIF (Longest I/O First)
  • LISC (Longest I/O & Shortest CPU First)

Getting Started:

  • Download 'CPUScheduler'
  • Execute the file on linux terminal with two arguments
    (1) The total number of processes
    (2) The number of processes that will call I/O request
  • Example
    ./CPUScheduler 10 3 >> result.txt

About

CPU Scheduling Simulator with C

http://arkainoh.blogspot.kr/2016/09/CPU.scheduling.simulator.html


Languages

Language:C 100.0%