Skip to content

SmartPotato21/project3

Repository files navigation

Simulated Memory Management System

How to Compile

g++ -std=c++11 main.cpp memory_manager.cpp -o memory_sim

How to Run

./memory_sim < sample_input.txt

Project Features

  • Supports memory allocation (alloc <pid> <pages>)
  • Virtual-to-physical translation (access <pid> <vaddr> <read/write>)
  • Memory deallocation (free <pid>)
  • Frame PID owner table (view)
  • Implements FIFO and LRU page replacement, pick via command line

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages