-
program VirtualMemory {$APPTYPE CONSOLE} uses SysUtils, Windows const PageSize =...
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
- 2022-10-06 15:35:03下载
- 积分:1
-
先来先服务(FCFS)算法、短作业优先(SJF)算法、高响应比(HRN)算法和高优先权优先算法是作业调度中经常采用的,通过上述算法的模拟加深对作业控制快JCB的...
先来先服务(FCFS)算法、短作业优先(SJF)算法、高响应比(HRN)算法和高优先权优先算法是作业调度中经常采用的,通过上述算法的模拟加深对作业控制快JCB的理解和作业调度过程的实现技巧-job jobjob jobjob jobjob jobjob jobjob jobjob jobjob jobjob job
- 2022-08-14 08:21:04下载
- 积分:1
-
此为操作系统实验报告:处理器调度 内含:程序流程图 设计目的与思路 主要源码等. 简介:在采用多道程序设计的系统中,往往有若干个进程同时处于就绪状态。当就绪状态...
此为操作系统实验报告:处理器调度 内含:程序流程图 设计目的与思路 主要源码等. 简介:在采用多道程序设计的系统中,往往有若干个进程同时处于就绪状态。当就绪状态进程个数大于处理器数时,就必须依照某种策略来决定哪些进程优先占用处理器。本实验模拟在单处理器情况下处理器调度,帮助学生加深了解处理器调度的工作。-experimental operating system for this report : Processor Scheduling consisting of : flowchart designed and ideas such as major source. Introduction : the introduction of multi-channel programming system, often there are a number of processes at the same time readiness. When the readiness of the process is greater than the number when the number of processors, it must, in accordance with a strategy to determine which process priority processor. Experimental simulation of the processor in a single processor scheduling circumstances, to help students better understand processor scheduling work.
- 2023-03-20 12:00:03下载
- 积分:1
-
实时动态显示进程信息的程序,如资源利用等。比任务管理器显示更多进程信息...
实时动态显示进程信息的程序,如资源利用等。比任务管理器显示更多进程信息- Real-time dynamic demonstration advancement information
procedure, like resources use and so on. Compared to the task
management demonstration are more advancements information
- 2022-06-13 14:42:09下载
- 积分:1
-
一个多线程编程源码
一个多线程编程源码-A multi-threaded programming source
- 2022-11-16 18:25:04下载
- 积分:1
-
进程管理,动态分配内存,按照最大优先级的动态分配
进程管理,动态分配内存,按照最大优先级的动态分配-process management, dynamic memory allocation, in accordance with the priority of the largest dynamic allocation
- 2022-03-14 06:10:56下载
- 积分:1
-
简单线程计数器: 一个为直接输出无间隔,一个是有时间间隔输出...
简单线程计数器: 一个为直接输出无间隔,一个是有时间间隔输出-Counter easy thread: one for direct output without partitions, there is a time interval are output
- 2022-01-26 00:47:16下载
- 积分:1
-
一个多任务应用程序。带有四个彩色转轮的应用程序,每个彩色转轮都按自己的线程运行。其中两个使用OnIdle函数;另外两个则作为独立的线程运行。...
一个多任务应用程序。带有四个彩色转轮的应用程序,每个彩色转轮都按自己的线程运行。其中两个使用OnIdle函数;另外两个则作为独立的线程运行。-a multi-tasking applications. Color wheel with four applications, each color wheel has its own threads to run. Two of them use OnIdle function; The other two were used as the independent threads running.
- 2022-05-17 14:55:08下载
- 积分:1
-
使CPU利用率为100%
当为双核是运行两个实例即可
使CPU利用率为100%
当为双核是运行两个实例即可-So that CPU utilization was 100 when running for the dual-core is two examples can be
- 2022-07-17 22:50:04下载
- 积分:1
-
threads how communications, explained here. The operating system is threaded pro...
线程怎么通信,这里有解释.线程就是操作系统分配给处理器的基本单元.系统为没一个线程分配一个堆栈-threads how communications, explained here. The operating system is threaded processors allocated to the basic unit. No one system to allocate a thread stack
- 2022-04-18 18:38:17下载
- 积分:1