如何在C ++中创建用于内存mgmt和cpu保护的模拟器 [英] how to make a simulator for memory mgmt and cpu protection in C++

查看:89
本文介绍了如何在C ++中创建用于内存mgmt和cpu保护的模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以帮助我完成这项任务吗....
设计模拟器来满足以下要求:

1.内存管理:输入是内存大小,否.进程,名称限制寄存器和基址寄存器.

2. CPU保护:计算所有进程的平均执行时间,并将正在执行的进程与平均时间进行比较....

Can any one help me out in doing this assignment plz....
Design a simulator to cater for the following:

1. Memory mgmt: Input is size of memory, no. of processes, name limit register and base register.

2. CPU protection:Calculate average execution time of all processes and compare a process being executed with average time....

推荐答案

我没有看到任何专业人士技巧或一般建议以帮助完成这项工作.它不需要太多的建议,它只需要工作和足够的教育;而且我不知道你的受教育程度.您需要分析需求,设计,原型,实现,测试,正确的设计,更改实现,测试,修复,最终确定……在此工作上花费足够的时间.

抱歉,如果没有那么大的帮助,但是正如我所说,如果不了解您的经验,能力和其他细节,很难提供更多建议...

如果您这样做并遇到一些特殊问题,我们将很乐意为您提供帮助.

—SA
I don''t see any professional tricks or general advice to help in this work. It does not require much advice, it requires just work and sufficient education; and I don''t know your level of education. You need to analyze requirements, design, prototype, implement, test, correct design, change implementation, test, fix, finalize… spend sufficient time on this work.

Sorry if it''s not so helpful, but as I say it''s hard to advice more without knowledge of your experience, capabilities and other detail…

If you do all that and face some particular problems, we will gladly help you.

—SA


这篇关于如何在C ++中创建用于内存mgmt和cpu保护的模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆