登录
首页 » C# » 由于在单道批处理系统中,作业一投入运行,它就占有计算机的一切资源直到作业完成为止,因此调度作业时不必考虑它所需要的资源是否得到满足,它所占用的CPU时限等因素。...

由于在单道批处理系统中,作业一投入运行,它就占有计算机的一切资源直到作业完成为止,因此调度作业时不必考虑它所需要的资源是否得到满足,它所占用的CPU时限等因素。...

于 2022-03-15 发布 文件大小:3.57 kB
0 174
下载积分: 2 下载次数: 1

代码说明:

由于在单道批处理系统中,作业一投入运行,它就占有计算机的一切资源直到作业完成为止,因此调度作业时不必考虑它所需要的资源是否得到满足,它所占用的CPU时限等因素。 每个作业由一个作业控制块JCB表示,JCB包括如下信息:作业名、提交时刻、所需运行时间、所需资源、作业状态、链指针等。 在程序开始时对用户提交的作业按作业调度算法排列,用链表形式存储,这里分别采用先来先服务、短作业、响应比高者优先调度算法对作业进行调度。这里为了操作者的方便,每个作业无论所需运行时间多少,都是每敲一次键盘就执行完一个作业。每个作业完成后打印作业的开始运行时刻,完成时刻,周转时间和带权周转时间,一组作业完成后打印这组作业的平均周转时间,带权周转时间。所以要在运行时对运行时间进行记录,这里设置几个全局变量:T时间量; ttime总周转时间; trtime总的带权周转时间。-Road due to the single-batch system, and put into operation an operation, it has all the resources of the computer until the operation is completed, the dispatch operation when it"s not necessary to consider whether the resources needed to be met, it occupied by the CPU time and other factors. Each operation by operating a control block JCB, JCB include the following information : operations, and submitted moment, the run time, the resources required, operational state, chain pointer. At the beginning of the procedure to users of operations by scheduling algorithm with using forms Chain store, were used here fir

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

发表评论

0 个回复

  • 51keyandyejing
    51的4乘4键盘锁液晶时钟程序 带键值锁定(51 4 x 4 keypad lock with a key lock LCD clock program)
    2010-08-06 22:10:48下载
    积分:1
  • dcdc
    光伏发电DC-DC 仿真,利用H 桥型双向 DC/DC 变换器的原理 其电压极性不变,但电流的极性却不同,因此能够实现能量的双向流动,功率可以向两个方向流动,而能量流动的方向可由负载大小以及光伏电池的发电特性而决定。对于储能装置的电路拓扑结构,本文采用 H 桥型 Buck/Boost 直流变换器来完成对蓄电池充电放电的控制。(DC-DC simulation of photovoltaic power generation)
    2018-05-08 12:41:45下载
    积分:1
  • 滑动平均法
    滑动平均法消除趋势项,MATLAB导入数据就能使用了,方便快捷(Moving average method to eliminate trend items)
    2017-11-18 22:40:43下载
    积分:1
  • sil9136
    Hi3519V101 sil9136 HDMI 驱动(Hi3519V101 sil9136 HDMI driver)
    2020-06-19 22:00:01下载
    积分:1
  • Socket
    说明:  socket的服务器和客户端,实现点对点聊天功能(socket server and client, to achieve point-to-point chat)
    2008-12-07 09:25:50下载
    积分:1
  • 小游戏1
    说明:  有c语言编写的推箱子小游戏,非常简单 新手可以看看(There are C language programming push box games, very simple novice can see)
    2020-07-05 12:21:14下载
    积分:1
  • TCPIP编写的聊天服务器客户端
    【实例简介】TCPIP编写的聊天服务器客户端
    2021-12-29 00:31:27下载
    积分:1
  • 网络调试助手
    网络调试工具,支持http代理。网络调试工具,支持http代理。网络调试工具,支持http代理。网络调试工具,支持http代理
    2022-01-28 21:34:36下载
    积分:1
  • c++学生管理系统
    一个学生信息管理系统。用的是MFC ODBC来完成的。在成绩管理系统中,当查询到记录后要刷新,使所有的记录从新显示出来的话,如果系统中存在7000条记录的话,刷新一次的时间要20多秒钟,处理后,可以在用户查询后,在不到一秒中的时间内来完成刷新。另:用户名:good,密码:py(a student information management system. The MFC ODBC to be completed. The performance management system, when inquiries to the record to refresh so that all the records show that the new, and if there System 7000 record of the case, set a time of more than 20 seconds and processed, the user can inquiry, in less than one second of time to complete the update. Another : Username : good, Password : py)
    2005-07-30 10:24:44下载
    积分:1
  • Tddiirectrwh
    这个应用程序源码演示了怎样直接地访访问物理驱动driver (The application source code demonstrates how to visit directly access the physical drive driver)
    2012-08-15 00:16:55下载
    积分:1
  • 696516资源总数
  • 106457会员总数
  • 15今日下载