Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - VirtualMemory
Search - VirtualMemory - List
在VC环境下编写的操作系统中的模拟虚拟内存操作的算法程序,高效的利用虚拟内存
Date : 2008-10-13 Size : 8.79kb User : 程功

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
Date : 2008-10-13 Size : 23.04kb User : 黄春标

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
Date : 2025-07-03 Size : 23kb User : 黄春标

在VC环境下编写的操作系统中的模拟虚拟内存操作的算法程序,高效的利用虚拟内存-VC environment in the preparation of the operating system virtual memory simulation algorithm operation procedures, efficient use of virtual memory
Date : 2025-07-03 Size : 354kb User : 程功

内存管理程序,使用虚拟内存。可以查看页面使用情况。-Memory management, the use of virtual memory. Can view the page usage.
Date : 2025-07-03 Size : 158kb User : Li Kun

虚拟仪器的相关文章一起分享,谢谢版主啊! 继续努力-Virtual Instruments related articles to share, thank you moderator ah! To continue its efforts to
Date : 2025-07-03 Size : 483kb User : xuhao

Windows虚拟内存 的c语言 演示 监视 内存状况-Virtual memory
Date : 2025-07-03 Size : 2kb User : linjia

虚拟内存中四种置换算法: OPT/LRU/FIFO/时钟算法-Four types of virtual memory replacement algorithm: OPT/LRU/FIFO/clock algorithm
Date : 2025-07-03 Size : 1kb User : eddycen

模拟分页式虚拟存储管理中硬件的地址转换和缺页中断,以及选择页面调度算法处理缺页中断。采用先进先出调度算法。-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.
Date : 2025-07-03 Size : 52kb User : 屠娇娇

是采用MFC编写的可以显示出当前系统的虚拟内存的功能-Is written using MFC to display the current system' s virtual memory capabilities
Date : 2025-07-03 Size : 190kb User : 一剑清平

简易的小程序,游戏修改器,可以修改游戏内数据。-Simple small program, game modifier can modify the game data.
Date : 2025-07-03 Size : 187kb User : yly

本文介绍了记忆监控程序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.
Date : 2025-07-03 Size : 26kb User : 力量

Virtual memory implemetation
Date : 2025-07-03 Size : 1kb User : DUKEN

内存管理的介绍,主要是内存的互斥访问策略。比如说MUTEX,SEMPHORE还有一些消息或者标志位的控制-The introduction of memory management, memory mutually exclusive access policy. For example, the MUTEX, SEMPHORE some message or logo bit control
Date : 2025-07-03 Size : 149kb User : sunwenwen

此代码为虚拟内存 用于操作系统的内存管理-This code for the operating system memory management for virtual memory
Date : 2025-07-03 Size : 1kb User : 李成娟
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.