登录
首页 » c » 短作业优先算法

短作业优先算法

于 2022-11-27 发布 文件大小:177.37 kB
0 87
下载积分: 2 下载次数: 1

代码说明:

最短作业优先(SJF)是一种调度任务请求的调度策略。每个任务请求包含有请求时间(即向系统提交的请求的时间)和持续时间(即完成任务所需时间)。当前任务完成后,SJF策略会选择最短持续时间执行任务,若最短持续时间相同,则选择最早请求时间的任务。任务等待时间为请求时间和实际开始时间之差。假设系统一直执行任务,从未空闲。设计程序,输入请求时间表和对应的持续时间表,以及任务数量,计算平均等待时间。

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

发表评论

0 个回复

  • C# Winform 实现对sql server 的增删改查刷新等功能
    C# Winform 实现对sql server 的增删改查刷新等功能
    2018-12-09下载
    积分:1
  • 背包问题cs
    说明:  背包系列题型ACM参考代码和部分教程,谢谢(Backpack series ACM reference code and some tutorials)
    2020-06-22 01:00:01下载
    积分:1
  • 编译原理课程设计报告LL1文法
    说明:  课程设计的目的 通过课程设计进一步理解高级语言在计算机中的执行过程,加深对编译原理中重点算法和编译技术的理解,提高自己的编程能力,培养好的程序设计风格。同时通过某种可视化编程语言的应用,具备初步的Windows环境下的编程思想。解和掌握LL(1)语法分析方法的基本原理;根据给出的LL(1)文法,掌握LL(1)分析表的构造及分析过程的实现。 (curriculum design through curriculum design aimed to further understand senior in computer language of the implementation process, enhance the focus of compiler theory algorithm and compiler technology understanding, enhance their programming ability, and cultivate good programming style. Through some kind of visual programming language applications, with the initial Windows programming environment ideology. Xie and master LL (1) syntax analysis of the basic tenets; According given LL (1) grammar, master LL (1) analysis of the structure and table analysis is achieved.)
    2005-09-02 12:04:11下载
    积分:1
  • ACR122U-Sample-Codes_CPP
    ACR122U Sample Codes_C 读卡机示范代码(ACR122U Sample Codes_C )
    2013-09-04 14:18:54下载
    积分:1
  • 3、stm322.4寸彩屏8位并行发送(优化测试版)
    [stm32]一个简单的stm32vet6驱动2.4寸240X320的8位并口tft屏DEMO(a sample demo of stm32vet6LCD driver)
    2020-06-17 03:20:01下载
    积分:1
  • grading-example-source
    grading example is the program developed for grading system...
    2011-06-13 18:53:05下载
    积分:1
  • 一个小例子来表明AddIn架构如何在C#的应用开发中得到实现。
    一个小例子来表明AddIn架构如何在C#的应用开发中得到实现。-A small example to show how the AddIn framework C# Application development be achieved.
    2022-02-04 11:00:25下载
    积分:1
  • ADCUART
    说明:  aduc845的模数转换程序,C语言编写,keil C开发平台,内容简洁。(aduc845 the analog-digital conversion process, C language, keil C development platform, is kept brief.)
    2009-07-26 13:37:24下载
    积分:1
  • linux时间编程演示代码
    基于linux的时间编程程序,包含time1 time2 time3三个程序(Linux-based time programming program, including time 1 time 2 time 3 three programs)
    2019-02-15 10:14:53下载
    积分:1
  • STM32-奋斗板-uIP1.0网络例程
    STM32-奋斗板-uIP1.0网络例程(Basic routines applicable to MINI boards)
    2020-06-17 08:20:01下载
    积分:1
  • 696518资源总数
  • 106182会员总数
  • 24今日下载