-
Abstraction:
This design require me use a most unusual swap algorithm. When swa...
本次设计要求我使用最不经常使用页面淘汰算法。该算法在需要太太某一页是,首先淘汰到当前时间为止,被访问次数最少的那一页。这只要在页表中给每一页增设一个访问计数器即可实现。每当该页被访问时,访问计数器加1,而发生一次缺页中断时,则淘汰计数值最小的那一页,并将所有的计数器清零。-Abstraction:
This design require me use a most unusual swap algorithm. When swap operation is demanded, this algorithm first swap the least accessed page up to present. To implement this algorithm, only need add a counter variable to eash page of the page table. When one page is accessed, the counter increase one. When page invalid interrupt occur, wash out the page with least count, then reset all the counters to zero.
- 2023-08-21 12:30:03下载
- 积分:1
-
高质量C++编程指南,供编程爱好者使用,推荐
高质量C++编程指南,供编程爱好者使用,推荐-High-quality C++ Programming Guide for the use of programming enthusiasts, Recommended
- 2022-07-04 10:28:26下载
- 积分:1
-
虚拟魔方,大家充分怀念c语言的精粹吧
虚拟魔方,大家充分怀念c语言的精粹吧-virtual Rubik"s cube, we fully c miss the essence of language it
- 2022-12-04 12:00:03下载
- 积分:1
-
存取注册表的类,有一个实例
存取注册表的类,有一个实例-access to the registry of categories, a case
- 2023-02-23 21:30:04下载
- 积分:1
-
DS18B20数字温度传感器实验
实验器材:探索者STM32F4开发板实验目的:学习DS18B20数字温度传感器的使用.硬件资源:1,DS0(连接在PF9)2,串口1(波特率:115200,PA9/PA10连接在板载USB转串口芯片CH340上面)3,ALIENTEK 2.8/3.5/4.3/7寸TFTLCD模块(通过FSMC驱动,FSMC_NE4接LCD片选/A6接RS) 4,DS18B20传感器一个(接在PG9上). 实验现象:本实验开机的时候先检测是否有DS18B20存在,如果没有,则提示错误。只有在检测到DS18B20之后才开始读取温度并显示在LCD上,如果发现了DS18B20,则程序每隔100ms左右读取一次数据,并把温度显示在LCD上。同样我们也是用DS0来指示程序正在运行。 注意事项: 1,4.3寸和7寸屏需要比较大电流,USB供电可能不足,请用外部电源适配器(推荐外接12V 1A电源).2,本例程在LCD_Init函数里面(在ILI93xx.c),用到了printf,如果不初始化串口1,将导致液晶无法显示!! 3,需自备DS18B20数字温度传感器一个,并插在开发板的U12位置(根据丝印插,平面朝内)
- 2022-04-10 22:55:01下载
- 积分:1
-
食人花程序
一个压缩包,装载了全部的食人花游戏程序源码,在重温经典游戏的同时,提升代码水平。
- 2022-05-06 09:26:17下载
- 积分:1
-
互斥量的类封装,适合C++编程,通过此类,能够直接对互斥量进行控制。...
互斥量的类封装,适合C++编程,通过此类,能够直接对互斥量进行控制。-Mutex class package for C++ programming, through such direct-to-mutex control.
- 2022-01-26 05:36:44下载
- 积分:1
-
this to capture ip packet
this to capture ip packet-this is to capture ip packet
- 2022-09-17 04:00:02下载
- 积分:1
-
shared data access procedures and procedures for reading and writing
共享数据访问程序和读写程序-shared data access procedures and procedures for reading and writing
- 2023-03-25 17:55:03下载
- 积分:1
-
在VC下,简单的实现通过本机IP包的识别
在VC下,简单的实现通过本机IP包的识别-In the VC, the simple implementation of IP packets through the machine identification of
- 2022-02-03 14:48:51下载
- 积分:1