A round robin simulation with visualization in opengl
Table of Contents
In this project, we implemented the round robin scheduling algorithm that "slices" the process for better perfomance at the CPU.
We also provide a visualization of the CPU and how the process are arrenged in OpenGL
- You have to comment the first line of main.c for this to work
# Clone the repository
$ git clone https://github.com/WebisD/round-robin-scheduling.git
# Access the project folder in your terminal / cmd
$ cd round-robin-scheduling
# Compile the application
$ gcc -o main main.c
# Run the application
$ ./main
# Clone the repository
$ git clone https://github.com/WebisD/round-robin-scheduling.git
# Access the project folder in your terminal / cmd
$ cd round-robin-scheduling
# Install dependencies for opengl
$ sudo apt-get install freeglut3 freeglut3-dev mesa-common-dev
# Compile the application
$ gcc -o main main.c -lglut -lGL -lGLU
# Run the application
$ ./main
Use the up arrow
↑
in your keyboard to zoom in
Use the down arrow
↓
in your keyboard to zoom out
Use the scroll wheel of your mouse 🖱️ to move the cpu for better view