Skip to content

d-coder111/process-scheduling-simulator-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ–₯️ CPU Scheduling Simulator (C Language)

A console-based CPU Scheduling Simulator implemented in C that demonstrates how an Operating System schedules processes using classical scheduling algorithms. The project simulates real CPU behavior and calculates important performance metrics with a Gantt chart visualization.


πŸš€ Features

  • πŸ“Œ Implements multiple CPU scheduling algorithms:

    • First Come First Serve (FCFS)
    • Shortest Job First (Preemptive SJF)
    • Round Robin (RR)
  • πŸ“Š Gantt Chart visualization (text-based simulation)

  • ⏱️ Computes key OS metrics:

    • Completion Time (CT)
    • Turnaround Time (TAT)
    • Waiting Time (WT)
    • Response Time (RT)
  • πŸ“₯ User-defined process input:

    • Arrival Time
    • Burst Time
  • πŸ” Dynamic simulation of CPU execution over time


πŸ› οΈ Technologies Used

  • Language: C
  • Concepts:
    • Operating Systems
    • CPU Scheduling Algorithms
    • Process Management
    • Arrays and Simulation Logic

πŸ“Έ Sample Output

CPU Scheduler Output

⭐ Show Your Support

If you find this project useful, please consider starring ⭐ the repository. It helps increase visibility and encourages further development and enhancements.

About

πŸ–₯️ A CPU Process Scheduling Simulator in C that demonstrates FCFS, Preemptive SJF, and Round Robin scheduling algorithms with Gantt chart visualization πŸ“Š and performance metrics including waiting time ⏳, turnaround time πŸ”„, and response time ⚑.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages