shrynshjn / PageReplacement

FIFO, LRU and Optimal page replacement algorithms are implemented

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PageReplacement

FIFO, LRU and Optimal page replacement algorithms are implemented

Input

Takes the number of page requests, number of pages and reference strings as input.

Output

Gives the number of page faults, hits and hits ration for all 3 algorithm

Execute

To run the document, in a termnial write: cc pageReplacement.c -o pr ./pr

About

FIFO, LRU and Optimal page replacement algorithms are implemented

License:GNU General Public License v2.0


Languages

Language:C 100.0%