页面置换算法FIFO,LRU,NRU,OPT
标签:
•
文件类型: .rar
•
文件大小: 3.2MB
•
下载次数: 1
•
封装了大部分的页面置换算法FIFO,LRU,NRU,OPT
属于操作系统课程设计的一部分
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 37144 2010-06-05 23:44 PageReplacePageReplace.aps
文件 1844 2010-06-05 23:45 PageReplacePageReplace.clw
文件 2133 2003-01-06 06:53 PageReplacePageReplace.cpp
文件 4249 2003-01-06 06:53 PageReplacePageReplace.dsp
文件 547 2003-01-06 06:53 PageReplacePageReplace.dsw
文件 1379 2003-01-06 06:53 PageReplacePageReplace.h
文件 74752 2010-06-05 23:45 PageReplacePageReplace.ncb
文件 53760 2010-06-05 23:45 PageReplacePageReplace.opt
文件 766 2010-06-05 23:44 PageReplacePageReplace.plg
文件 6472 2010-06-05 23:44 PageReplacePageReplace.rc
文件 15441 2010-06-05 23:40 PageReplacePageReplaceDlg.cpp
文件 3497 2010-06-05 23:39 PageReplacePageReplaceDlg.dsp
文件 553 2010-06-05 23:39 PageReplacePageReplaceDlg.dsw
文件 1525 2010-06-04 23:24 PageReplacePageReplaceDlg.h
文件 50176 2010-06-05 23:39 PageReplacePageReplaceDlg.ncb
文件 48640 2010-06-05 23:39 PageReplacePageReplaceDlg.opt
文件 1128 2010-06-05 23:39 PageReplacePageReplaceDlg.plg
文件 3669 2003-01-06 06:53 PageReplaceReadMe.txt
文件 965 2003-01-06 07:07 PageReplaceResource.h
文件 213 2003-01-06 06:53 PageReplaceStdAfx.cpp
文件 1054 2003-01-06 06:53 PageReplaceStdAfx.h
文件 1078 2003-01-06 06:53 PageReplace
esPageReplace.ico
文件 403 2003-01-06 06:53 PageReplace
esPageReplace.rc2
文件 118886 2010-06-05 23:44 PageReplaceDebugPageReplace.exe
文件 300080 2010-06-05 23:44 PageReplaceDebugPageReplace.ilk
文件 13474 2003-01-06 07:27 PageReplaceDebugPageReplace.obj
文件 5498060 2003-01-06 07:16 PageReplaceDebugPageReplace.pch
文件 402432 2010-06-05 23:44 PageReplaceDebugPageReplace.pdb
文件 3436 2010-06-05 23:44 PageReplaceDebugPageReplace.res
文件 55881 2010-06-05 23:40 PageReplaceDebugPageReplaceDlg.obj
............此处省略11个文件信息
// PageReplace.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “PageReplace.h“
#include “PageReplaceDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CPageReplaceApp
BEGIN_MESSAGE_MAP(CPageReplaceApp CWinApp)
//{{AFX_MSG_MAP(CPageReplaceApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CPageReplaceApp construction
CPageReplaceApp::CPageReplaceApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CPageReplaceApp object
CPageReplaceApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CPageReplaceApp initialization
BOOL CPageReplaceApp::InitInstance()
{
AfxEnableControlContainer();
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable you should remove from the following
// the specific initialization routines you do not need.
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
CPageReplaceDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
// Since the dialog has been closed return FALSE so that we exit the
// application rather than start the application‘s message pump.
return FALSE;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 37144 2010-06-05 23:44 PageReplacePageReplace.aps
文件 1844 2010-06-05 23:45 PageReplacePageReplace.clw
文件 2133 2003-01-06 06:53 PageReplacePageReplace.cpp
文件 4249 2003-01-06 06:53 PageReplacePageReplace.dsp
文件 547 2003-01-06 06:53 PageReplacePageReplace.dsw
文件 1379 2003-01-06 06:53 PageReplacePageReplace.h
文件 74752 2010-06-05 23:45 PageReplacePageReplace.ncb
文件 53760 2010-06-05 23:45 PageReplacePageReplace.opt
文件 766 2010-06-05 23:44 PageReplacePageReplace.plg
文件 6472 2010-06-05 23:44 PageReplacePageReplace.rc
文件 15441 2010-06-05 23:40 PageReplacePageReplaceDlg.cpp
文件 3497 2010-06-05 23:39 PageReplacePageReplaceDlg.dsp
文件 553 2010-06-05 23:39 PageReplacePageReplaceDlg.dsw
文件 1525 2010-06-04 23:24 PageReplacePageReplaceDlg.h
文件 50176 2010-06-05 23:39 PageReplacePageReplaceDlg.ncb
文件 48640 2010-06-05 23:39 PageReplacePageReplaceDlg.opt
文件 1128 2010-06-05 23:39 PageReplacePageReplaceDlg.plg
文件 3669 2003-01-06 06:53 PageReplaceReadMe.txt
文件 965 2003-01-06 07:07 PageReplaceResource.h
文件 213 2003-01-06 06:53 PageReplaceStdAfx.cpp
文件 1054 2003-01-06 06:53 PageReplaceStdAfx.h
文件 1078 2003-01-06 06:53 PageReplace
esPageReplace.ico
文件 403 2003-01-06 06:53 PageReplace
esPageReplace.rc2
文件 118886 2010-06-05 23:44 PageReplaceDebugPageReplace.exe
文件 300080 2010-06-05 23:44 PageReplaceDebugPageReplace.ilk
文件 13474 2003-01-06 07:27 PageReplaceDebugPageReplace.obj
文件 5498060 2003-01-06 07:16 PageReplaceDebugPageReplace.pch
文件 402432 2010-06-05 23:44 PageReplaceDebugPageReplace.pdb
文件 3436 2010-06-05 23:44 PageReplaceDebugPageReplace.res
文件 55881 2010-06-05 23:40 PageReplaceDebugPageReplaceDlg.obj
............此处省略11个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)