Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.
/ CSOPESY-MP1 Public archive

CSOPESY T1 AY 2023-2024 // Implementation of FCFS, SJF, SRTF, Round Robin CPU Scheduling Algorithms

Notifications You must be signed in to change notification settings

Revkxd/CSOPESY-MP1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OPESY-MP1

Group Members:

  • Chua, Edric Jarvis
  • Cruz, Renz Ezekiel
  • Li, Wai Kei
  • Yu, Cedric Leopold

Dependencies

Required

Optional

Build

  1. Install the required dependencies gcc and make.
  2. cd into project root.
  3. Run make release to compile executable.
  4. Executable is located at build/a.out.
  5. After usage, run make clean to remove executable and build artifacts.

Usage

  • Program reads input from stdin.
  • Input redirection is preferred method for passing inputs (i.e. build/a.out < input_txt_file_here).
  • All inputs are expected to conform to the specifications.

Extras

  • Other compilation targets: all debug bench bench-prof
  • bench prints output together with CPU execution time.
  • bench-prof is the same as bench but with extra compilation flags for profiling with gprof.
  • Run ./testscript.sh for info on how to run test cases. (requires optional dependencies)