========================
BUILD OUTPUT DESCRIPTION
========================
When you build an Java application project that has a main class, the IDE
automatically copies all of the JAR
files on the projects classpath to your projects dist/lib folder. The IDE
also adds each of the JAR files to the Class-Path element in the application
JAR files manifest file (MANIFEST.MF).
To run the project from the command line, go to the dist folder and
type the following:
java -jar "ImitateMemoryPageSpilt.jar"
To distribute this project, zip up the dist folder (including the lib folder)
and distribute the ZIP file.
Notes:
* If two JAR files on the project classpath have the same name, only the first
JAR file is copied to the lib folder.
* Only JAR files are copied to the lib folder.
If the classpath contains other types of files or folders, none of the
classpath elements are copied to the lib folder. In such a case,
you need to copy the classpath elements to the lib folder manually after the build.
* If a library on the projects classpath also has a Class-Path element
specified in the manifest,the content of the Class-Path element has to be on
the projects runtime path.
* To set a main class in a standard Java project, right-click the project node
in the Projects window and choose Properties. Then click Run and enter the
class name in the Main Class field. Alternatively, you can manually type the
class name in the manifest Main-Class element.
没有合适的资源?快使用搜索试试~ 我知道了~
Java 模拟操作系统页面替换算法
共69个文件
class:23个
png:18个
properties:7个
4星 · 超过85%的资源 需积分: 20 40 下载量 42 浏览量
2009-01-03
13:20:39
上传
评论 3
收藏 449KB RAR 举报
温馨提示
Java图形化界面实现以下要求,我上传给大家一同分享。 通过随机数产生一个指令序列,共 320 条指令,指令的地址按下述原则生成: (1):在[0,319]的指令地址之间随机选取一起点 m。 (2):顺序执行一条指令,即执行地址为 m+1 的指令 。 (3):在前地址[0,m+1]中随机选取一条指令并执行,该指令的地址为 m' 。 (4):顺序执行一条指令,其地址为 m'+1。 (5):在后地址[m'+2,319]中随机选取一条指令并执行。 (6):重复步骤 (1)—(6),直到生成 320 条指令。 2、将指令序列转换为页地址流,比如:页面大小为 1K,用户内存容量 4 页到 32 页,用户虚存容量为 32K;在用户虚存中,按每 K存放 10 条指令排列虚存地址。即 320 条指令在虚存中的存放方式为: 第 0 条-第 9 条指令为第 0 页(对应虚存地址为[0,9])。 第 10 条-第 19 条指令为第 1 页(对应虚存地址为[10,19]) 。 ……………………………… 第 310 条-第 319 条指令为第 31页(对应虚存地址为[310,319])。 按以上方式,用户指令可组成 32页。 3、页面大小的取值范围分别为 1K,2K,4K,8K,16K;按照页面大小将指令地址转化为页号;对于相邻相同的页号,合并为一个。 4、分配给程序的内存块数取值范围为 1 块、2块,一直到程序的页面数。 5、分别采用 FIFO 和 LRU 算法对页号序列进行调度,并计算出对应的缺页中断率。
资源推荐
资源详情
资源评论
收起资源包目录
.rar (69个子文件)
ImitateMemoryPageSpilt
dist
模拟操作系统分页调度算法.jar 124KB
ImitateMemoryPageSpilt.jar 124KB
lib
swing-worker-1.1.jar 11KB
appframework-1.0.3.jar 258KB
swing-layout-1.0.3.jar 115KB
README.TXT 1KB
manifest.mf 82B
src
imitatememorypagespilt
FIFO.java 2KB
MemoryBlock.java 623B
VirtualPageProduce.java 3KB
MainFrm.java 17KB
TiHuanSuanFa.java 2KB
MainFrm.form 18KB
LRU.java 2KB
build
classes
imitatememorypagespilt
ImitateMemoryPageSpiltView$3.class 3KB
ImitateMemoryPageSpiltView$6.class 949B
MemoryBlock.class 830B
ImitateMemoryPageSpiltApp.class 1KB
resources
ImitateMemoryPageSpiltView.properties 2KB
ImitateMemoryPageSpiltAboutBox.properties 278B
about.png 8KB
busyicons
busy-icon10.png 3KB
busy-icon0.png 4KB
busy-icon7.png 4KB
busy-icon6.png 3KB
busy-icon12.png 4KB
busy-icon5.png 3KB
busy-icon9.png 3KB
idle-icon.png 3KB
busy-icon1.png 4KB
busy-icon2.png 4KB
busy-icon8.png 4KB
Thumbs.db 7KB
busy-icon4.png 3KB
busy-icon13.png 4KB
busy-icon14.png 4KB
busy-icon11.png 3KB
busy-icon3.png 3KB
ImitateMemoryPageSpiltApp.properties 439B
splash.png 21KB
MainFrm$5.class 808B
MainFrm.class 12KB
MainFrm$1.class 815B
ImitateMemoryPageSpiltView.class 13KB
FIFO.class 2KB
ImitateMemoryPageSpiltView$1.class 1KB
LRU.class 3KB
Main.class 2KB
ImitateMemoryPageSpiltView$5.class 948B
MainFrm$2.class 815B
MainFrm$4.class 808B
ImitateMemoryPageSpiltAboutBox.class 5KB
MainFrm$3.class 815B
MainFrm$6.class 570B
FIFOAndLRU.class 3KB
TiHuanSuanFa.class 3KB
ImitateMemoryPageSpiltView$2.class 1KB
VirtualPageProduce.class 2KB
ImitateMemoryPageSpiltView$4.class 948B
META-INF
services
org.jdesktop.application.Application 48B
Thumbs.db 58KB
build.xml 3KB
nbproject
build-impl.xml 32KB
private
private.xml 211B
config.properties 0B
private.properties 168B
project.properties 2KB
project.xml 664B
genfiles.properties 455B
共 69 条
- 1
资源评论
- lgl89823352012-11-18很好,如果再加上LFU、OPT算法就好了
AndrewDong_2008
- 粉丝: 1
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功