[Source code and documentation sharing] replacement algorithm based on the memory management implemented in C # page

I. Background

  • A total of 320 instructions

  • A page can store 10 instructions

  • A total of four memory blocks, each memory block may store a page

  • 50% of the instruction is a sequential instruction execution, the instruction for the first 25% of the instruction address, after 25% of the instruction address instruction

  • When the instruction to be executed is not in memory, page replacement operation is triggered

Second, the development / operating environment

  • Development Environment : Windows10 Pro 1803

  • Development language : C # 6.0 / .net Framework 4.7.03056

  • Development tools : Microsoft Visual Studio Community 2017

 

Reference documentation and complete documentation and source code Download:

https://www.write-bug.com/article/2358.html

 

Guess you like

Origin blog.csdn.net/demongwc/article/details/91360677