-
subject_3
对于OPT算法,在有多个页面可选的情况下,先淘汰较早进入的页面)。
3. 计算缺页次数及缺页率。
测试用例格式如下:
输入:
算法(1 OPT,2 FIFO,3 LRU)
内存块数
页面序列(页面1,页面2,页面3,...)
输出:
页面变化时内存块装入页面列表1-是否命中/页面变化时内存块装入页面列表2-是否命中/...
缺页次数
其中:
页面变化时内存块装入页面列表:内存块1装入页面,内存块2装入页面,内存块3装入页面...,未装入任何页面时由 -”表示
是否命中:1-命中,0-缺页">
- 2021-04-27 00:48:45下载
- 积分:1
-
IAP15F4K-串口通讯-和校验(中断方式)
使用单片机实验板,在Keil C开发环境中编写串口发送和接收程序。在串口发送和接收程序中编程增加校验位,使用逻辑分析仪捕捉单片机串口引脚发送和接收数据的波形,并与串口接收和发送的数据进行比较。(Using SCM experiment board, in the Keil C development environment to write serial send and receive program. In the serial sending and receiving program, the program adds the parity bit, and uses logic analyzer to capture the waveform of the data sent and received by the serial port of the microcontroller, and compares it with the data received and sent by the serial port.)
- 2017-10-19 20:05:38下载
- 积分:1
-
dxnb
有关于三相光伏并网逆变系统的matlab仿真(On the three-phase photovoltaic inverter system simulation matlab)
- 2011-05-09 15:54:01下载
- 积分:1
-
极简单片机任务管理器程序
仅只占用一个定时器,代码量仅200多字节,最多可管理255个任务,使用简单方便。本实例基于stm8s103,通过修改定时器的具体代码可移植到其它单片机上。(Only one timer is used, and the code volume is only 200 bytes. It can manage 255 tasks at most. It is simple and convenient to use. This example is based on stm8s103, and can be transplanted to other microcontrollers by modifying the specific code of the timer.)
- 2020-10-15 09:07:29下载
- 积分:1
-
BMS方案设计
说明: BMS的软硬件设计方案,内含1. GUI软件安装文件;2. 原理图及PCB文件;3. 完整用户手册(Software and hardware design of BMS)
- 2020-06-23 11:44:37下载
- 积分:1
-
iOSDiner 例子源码下载(商业)
iOSDiner 例子源码下载(商业)
- 2015-02-27下载
- 积分:1
-
the-signal-piex-camera-based-on-cs
单像素相机是基于压缩传感理论实现的,是数码相机发展的另一个革命性的方向,包括了所有单像素前沿的文献(Single-pixel camera is based on compressed sensing theory to achieve, is another revolutionary development direction of digital cameras, including the literature of all single-pixel frontier)
- 2014-03-18 11:28:45下载
- 积分:1
-
GPA-Calculators
GPA 计算器的设计,利用Visual C++设计的GPA 计算器的源代码程序(GPA calculator design, the use of Visual C++ design GPA calculator source code program)
- 2014-05-11 17:13:19下载
- 积分:1
-
qiqiaobansrc
C#七巧板-C#创建菱形图案,其间使用了进程,示例适用于 Windows 窗体,它需要 PaintEventArgse,一个 OnPaint 事件对象。代码执行下列操作:
创建两个路径:一个为头朝上的三角形,另一个为头朝下的三角形。将第二个路径添加到第一个路径上。将最终的路径绘制到屏幕。
设置控件样式为双缓冲,可以有效减少图片闪烁的问题(Create a diamond pattern C# tangram-C#, during which use of the process, the example applies to Windows Forms, and it requires PaintEventArgs e, an OnPaint event object. The code performs the following actions: create two paths: a head-on the triangle, another triangle upside down. Add a second path to the first path. Draw the final path to the screen. Set the control style for double buffering, the picture flashes can be effective in reducing the problem)
- 2012-09-26 16:05:54下载
- 积分:1
-
VIBE
说明: 前景识别vibe程序,运行流畅。 b哥大作的个人实现版,准确率和高斯建模差不多,但运行速度极快(foreground he C library function int rand(void) returns a pseudo-random number in the range of 0 to RAND_MAX.
RAND_MAX is a constant whose default value may vary between implementations but it is granted to be at least 32767.)
- 2019-02-28 15:47:05下载
- 积分:1