PrinceSinghhub / CPU-SCHEDULING-ALGORITHM-VISUALISER

The CPU Scheduling Algorithm Visualizer is a web-based tool that allows users to interactively visualize various CPU scheduling algorithms. This project aims to provide an educational resource for understanding how different scheduling algorithms work internally and their effects on the execution of processes in a CPU.

Home Page:https://cpu-scheduling-algorithm-visualiser.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FCFS Algorithm Error in Visualization

vinvinz opened this issue · comments

image

As you can see in the picture the Gantt chart visualization is wrong. The processes are displayed in the wrong order, The visualizer ignores the Arrival time of each process and proceeds to visualize the processes based on the order in the list. The order of the Gantt visualized chart should be P3 > (Idle Time of 2ms) > P2 > P1.