登录
首页 » C# » 这里没有任何的API调用 只是模拟,我给进程设定了自己的语法,输入一般的字符cpu调用时只是正常输出,如果遇到 $ 表示该进程要调用系统资源后面必须跟一个数字表...

这里没有任何的API调用 只是模拟,我给进程设定了自己的语法,输入一般的字符cpu调用时只是正常输出,如果遇到 $ 表示该进程要调用系统资源后面必须跟一个数字表...

于 2022-05-01 发布 文件大小:3.43 kB
0 44
下载积分: 2 下载次数: 1

代码说明:

这里没有任何的API调用 只是模拟,我给进程设定了自己的语法,输入一般的字符cpu调用时只是正常输出,如果遇到 $ 表示该进程要调用系统资源后面必须跟一个数字表示占有的时间,如果资源闲置则占有资源否则阻塞,等资源释放在占有资源。进程的调用算法我采用的是时间片轮转算法并有所改进,当某个进程从阻塞队列释放后,他将把以前因为等待资源而被浪费的时间补回来。 希望大家多提意见-here no API calls simulations, I set to process its own grammar, the characters importation cpu called only when normal output, said if the $ encountered in the process of system resources to call back with a figure must occupy the time said that if the idle occupies resources Otherwise obstruction, and other resources in the release of resources. Calling the process of the algorithm I use is time-rotate and improved algorithm, a process blocked from Queue After his release, he will wait before because resources were wasted by the time back up. We hope to speak up

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • pinfanfangwen
    设有一头指针为L的带有表头结点的非循环双向链表,其每个结点中除有prev(前驱指针),data(数据)和next(后继指针)域外,还有一个访问频度域freq。在链表被起用前,其值均初始化为零。每当在链表中进行一次Locate(L,x)运算时,令元素值为x的结点中freq域的值增1,并使此链表中结点保持按访问频度非增(递减)的顺序排列,同时最近访问的结点排在频度相同的结点的最后,以便使频繁访问的结点总是靠近表头。试编写符合上述要求的Locate(L,x)运算的算法,该运算为函数过程,返回找到结点的地址,类型为指针型。(Has a head pointer is non-circular doubly linked list L with a header node, each node in addition to prev (precursor pointer), data (data) and next (successor pointers) outside, there is an access frequency degree domain freq. Before the list was hired, their values are initialized to zero. Whenever carried out in the list once Locate (L, x) when the operation, so that the element node x is the value in freq domain by one, and keep this list in the node-access frequency of non-increasing (decreasing) the order, while a recent visit to the nodes in the same row of the frequency of the last node, so that the nodes are frequently accessed tables are always near the head. Locate (L, x) algorithm is prepared in accordance with the above requirements of the test operation, the operation as a function of the process, return to find the address of the node of type pointer.)
    2015-01-15 22:31:59下载
    积分:1
  • C# 最简单的文件复制实例
    C# 最简单的文件复制实例,文件拷贝的示例,比较简单,若要启用启用xp_cmdshell, 请查看启用xp_cmdshell使用说明。
    2022-03-01 11:06:17下载
    积分:1
  • MSP430USB
    这个是TI公司的高级单片机的仿真器资料,通过本资料的学习,学者可以通过自己动手做出好用的仿真器,给430单片机学习者提供了节省学习成本。(This is TI' s advanced microcontroller emulator information, through this information, learning, and scholars can make yourself easy to use emulator to the microcontroller 430 provides the learners to study the cost savings.)
    2009-09-23 14:21:01下载
    积分:1
  • testdatabasedll
    数据库功能展示,vc连接access数据库,实现增删查找功能(Database function display, vc connection access database, add or delete search function to achieve)
    2011-01-24 17:04:23下载
    积分:1
  • SM2加密算法和解密算法的实现
    版本:SM2N1 EncIV1.1 日期:SEP 272016 描述:SM2加密算法和解密算法的实现(Version: SM2_ENC_V1.1 Date: Sep 27,2016 Description: implementation of SM2 encryption algorithm and decryption algorithm)
    2018-09-20 19:33:20下载
    积分:1
  • adc
    说明:  TM4C123GH6PM ADC采样,uart输出成功实例(Successful example of tm4c123gh6pm ADC sampling and UART output)
    2020-04-16 22:25:36下载
    积分:1
  • ADOConn
    sql server2000的一般操作类。里面基本包括了连接、插入修改,()
    2007-09-29 12:24:26下载
    积分:1
  • c# 做的时钟 带秒针、分针、时针 附完整源码
    时钟效果不错,支持 退出和隐藏等功能
    2013-05-17下载
    积分:1
  • C #游戏开发
    讲解使用C#进行游戏开发的入门书,内容易懂详实.-C# Game Develope
    2023-06-22 06:35:04下载
    积分:1
  • dsss2008
    使用matlab来实现直接序列扩频的调制和解调(Using matlab to achieve direct sequence spread spectrum modulation and demodulation)
    2008-06-11 10:50:53下载
    积分:1
  • 696518资源总数
  • 104321会员总数
  • 14今日下载