Location:
Search - VirtualMemory
Search list
Description: 在VC环境下编写的操作系统中的模拟虚拟内存操作的算法程序,高效的利用虚拟内存
Platform: |
Size: 9006 |
Author: 程功 |
Hits:
Description: program VirtualMemory {$APPTYPE CONSOLE} uses SysUtils, Windows const PageSize = 4096 //定义页面大小 var VmAddress, CommitAddress: Pointer //存放虚拟内存基址 Text: Pchar begin //保留二页虚拟内存 VmAddress := VirtualAlloc(nil, PageSize * 2, MEM_RESERVE, PAGE_READWRITE) if not Assigned(VmAddress) then begin WriteLn( 保留虚拟内存失败! ) ExitProcess(0) end else WriteLn(Format( 保留虚拟内存成功, 基址为:[%8.8x]! , [Longint(VmAddress)])) //提交第二页虚拟内存 CommitAddress := Pointer(Longint(VmAddress) + PageSize) CommitAddress := VirtualAlloc(CommitAddress, PageSize, MEM_COMMIT, PAGE_READWRITE) if not Assigne-program VirtualMemory ($ APPTYPE CONSOLE) uses SysUtils, Windows const PageSize = 4096 / / definition pages size var VmAddress, CommitAddress : Pointer / / virtual memory-based storage site Text : Pchar begin / / reservations two virtual memory VmAddress : = VirtualAlloc (nil. PageSize * 2, MEM_RESERVE, PAGE_READWRITE) if not Assigned (VmAddress) then begin WriteLn (reservations virtual memory failure!) ExitProcess (0) end else WriteLn (Format (virtual memory retention success, sites : [% 8.8x ]! [Longint (VmAddress)])) / / to the second page virtual memory CommitAddress : = Pointer (Longint (VmAddress) PageSize) CommitAddress : = VirtualAlloc (CommitAddress, PageSize, MEM_COMMIT, PAGE_READWRITE) if not Assigne
Platform: |
Size: 23590 |
Author: 黄春标 |
Hits:
Description: program VirtualMemory {$APPTYPE CONSOLE} uses SysUtils, Windows const PageSize = 4096 //定义页面大小 var VmAddress, CommitAddress: Pointer //存放虚拟内存基址 Text: Pchar begin //保留二页虚拟内存 VmAddress := VirtualAlloc(nil, PageSize * 2, MEM_RESERVE, PAGE_READWRITE) if not Assigned(VmAddress) then begin WriteLn( 保留虚拟内存失败! ) ExitProcess(0) end else WriteLn(Format( 保留虚拟内存成功, 基址为:[%8.8x]! , [Longint(VmAddress)])) //提交第二页虚拟内存 CommitAddress := Pointer(Longint(VmAddress) + PageSize) CommitAddress := VirtualAlloc(CommitAddress, PageSize, MEM_COMMIT, PAGE_READWRITE) if not Assigne-program VirtualMemory ($ APPTYPE CONSOLE) uses SysUtils, Windows const PageSize = 4096// definition pages size var VmAddress, CommitAddress : Pointer// virtual memory-based storage site Text : Pchar begin// reservations two virtual memory VmAddress : = VirtualAlloc (nil. PageSize* 2, MEM_RESERVE, PAGE_READWRITE) if not Assigned (VmAddress) then begin WriteLn (reservations virtual memory failure!) ExitProcess (0) end else WriteLn (Format (virtual memory retention success, sites : [% 8.8x ]! [Longint (VmAddress)]))// to the second page virtual memory CommitAddress : = Pointer (Longint (VmAddress) PageSize) CommitAddress : = VirtualAlloc (CommitAddress, PageSize, MEM_COMMIT, PAGE_READWRITE) if not Assigne
Platform: |
Size: 23552 |
Author: 黄春标 |
Hits:
Description: 在VC环境下编写的操作系统中的模拟虚拟内存操作的算法程序,高效的利用虚拟内存-VC environment in the preparation of the operating system virtual memory simulation algorithm operation procedures, efficient use of virtual memory
Platform: |
Size: 362496 |
Author: 程功 |
Hits:
Description: 内存管理程序,使用虚拟内存。可以查看页面使用情况。-Memory management, the use of virtual memory. Can view the page usage.
Platform: |
Size: 161792 |
Author: Li Kun |
Hits:
Description: 虚拟仪器的相关文章一起分享,谢谢版主啊!
继续努力-Virtual Instruments related articles to share, thank you moderator ah! To continue its efforts to
Platform: |
Size: 494592 |
Author: xuhao |
Hits:
Description: Windows虚拟内存 的c语言 演示
监视 内存状况-Virtual memory
Platform: |
Size: 2048 |
Author: linjia |
Hits:
Description: 虚拟内存中四种置换算法: OPT/LRU/FIFO/时钟算法-Four types of virtual memory replacement algorithm: OPT/LRU/FIFO/clock algorithm
Platform: |
Size: 1024 |
Author: eddycen |
Hits:
Description: 模拟分页式虚拟存储管理中硬件的地址转换和缺页中断,以及选择页面调度算法处理缺页中断。采用先进先出调度算法。-Analog paging in virtual storage management hardware and the address translation page fault, as well as the choice of scheduling algorithm to deal with page page fault. FIFO scheduling algorithm used.
Platform: |
Size: 53248 |
Author: 屠娇娇 |
Hits:
Description: 是采用MFC编写的可以显示出当前系统的虚拟内存的功能-Is written using MFC to display the current system' s virtual memory capabilities
Platform: |
Size: 194560 |
Author: 一剑清平 |
Hits:
Description: 简易的小程序,游戏修改器,可以修改游戏内数据。-Simple small program, game modifier can modify the game data.
Platform: |
Size: 191488 |
Author: yly |
Hits:
Description: 本文介绍了记忆监控程序VirtualMemory.exe、可视化的Windows Mobile虚拟内存模型图,从而使共同记忆问题,诸如声名狼藉的DLL的紧缩,普通的泄漏,充分device.exe鉴别,快速且容易-This article presents VirtualMemory.exe, a memory monitor application that visualizes Windows Mobile s virtual memory model graphically, and thus allows common memory issues, such as the infamous DLL Crunch, ordinary leaks, and a full device.exe, to be identified quickly and easily.
Platform: |
Size: 26624 |
Author: 力量 |
Hits:
Description: Virtual memory implemetation
Platform: |
Size: 1024 |
Author: DUKEN |
Hits:
Description: 内存管理的介绍,主要是内存的互斥访问策略。比如说MUTEX,SEMPHORE还有一些消息或者标志位的控制-The introduction of memory management, memory mutually exclusive access policy. For example, the MUTEX, SEMPHORE some message or logo bit control
Platform: |
Size: 152576 |
Author: sunwenwen |
Hits:
Description: 此代码为虚拟内存 用于操作系统的内存管理-This code for the operating system memory management for virtual memory
Platform: |
Size: 1024 |
Author: 李成娟 |
Hits: