Skip to content

MinWook6457/cpu-scheduling-simulator

Repository files navigation

Operating System Term Project

Cpu Scheduling Simulator

[๊น€๋ฏผ์šฑ] https://github.com/MinWook6457

๊ตฌ์„ฑ ์š”์†Œ

์†Œ์Šค ํŒŒ์ผ ์„ค๋ช…
Cpu-Scheduling-Simulator.c ํ”„๋กœ๊ทธ๋žจ ์‹คํ–‰ ์‹œ์ž‘์ง€์ ์ธ main ํ•จ์ˆ˜
Process.h ํ”„๋กœ์„ธ์Šค ์ •๋ณด๊ฐ€ ์ž…๋ ฅ๋œ ํ—ค๋”
Function_to_Sorting.h ์‹คํ–‰์‹œ๊ฐ„, ๋„์ฐฉ์‹œ๊ฐ„, ๋ฐ˜ํ™˜์‹œ๊ฐ„, ์šฐ์„ ์ˆœ์œ„๋ฅผ ๊ธฐ์ค€์œผ๋กœ ์ •๋ ฌํ•œ ํ•จ์ˆ˜๊ฐ€ ์ €์žฅ๋œ ํ—ค๋”
View_Table.h ๊ฐ ํ”„๋กœ์„ธ์Šค์˜ ์ •๋ณด๋ฅผ ์ถœ๋ ฅํ•  ํ—ค๋”
FCFS.h First Come First Service Scheduling
SJF.h Shortest Job First Scheduling
NPPS.h None Preemptive Priority Scheduling
HRN.h Highest Response Ratio Next Scheduling
PPS.h Preemptive Priority Scheduling
RR.h Round Robin Scheduling
SRT.h Shortest Remaining Time Scheduling

Ex

Quantum = 2

PID Arrival Time Run Time Priority
P1 0 10 3
P2 1 28 2
P3 2 6 4
P4 3 4 1
P5 4 14 2

Scheduling

FCFS

[CODE]

Test Image

FCFS

SJF

[CODE]

Test Image

SJF

NPPS

[CODE]

Test Image

NPPS

HRN

[CODE]

Test Image

HRN

PPS

[CODE]

Test Image

PPS

RR

[CODE]

Test Image

RR

SRT

[CODE]

Test Image

SRT

Refer To

[github] https://github.com/tapaswenipathak/Visualization-of-CPU-Scheduling-Algorithms

[github] https://github.com/AugustineAykara/CPU-Scheduling-Algorithm-In-C

About

Operating System Term Project (2023.04.27~2023.05.20)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages