Skip to content

This is a process scheduler with weighted users using Round-Robin algorithm. The software a terminal interface that logs the execution of processes in real-time.

Notifications You must be signed in to change notification settings

andrei828/ProcessSchedulerRoundRobin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Process scheduler with weighted users (Round-Robin)

Build Status Build Status Build Status

This program enables you to run multiple processes executed by the CPU using the Round-Robin algorithm. Currently the repo has pre-loaded an example where a random number of processes are generated. This design uses Inter Process Communication (IPC) to schedule the processes on the CPU.

Compilation and Execution

  • Clone this repository

    $ git clone https://github.com/andrei828/ProcessSchedulerRoundRobin.git
    $ cd ProcessSchedulerRoundRobin
  • Compile files with gcc

    $ gcc dummy.c -o dum
    $ gcc graphic.c -o run
  • Execute binary and preview in terminal the processes

    $ ./run
The repo contains:
  • A graphic.c file that deals with the terminal interface.
  • A dummy.c file that should be used however the user prefers.
  • A dependencies.c file that has the core functions and data structures for the program.

The tasks ran but the dummy processes should be configured in the dummy.c file.

Here is an example of the terminal interface

  • The list of processes generated

    Process list

  • The processes pending execution in Activity Monitor

    Activity Monitor

  • The Gantt diagram after execution

    Gantt Diagram

About

This is a process scheduler with weighted users using Round-Robin algorithm. The software a terminal interface that logs the execution of processes in real-time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages