code craft_Craft.io调度中使用的重要术语

code craft

1) Arrival Time (AT)

1)到达时间(AT)

The time when the process arrives into the running state is called as the Arrival time of the process. In simple words, the time at which any process enter the CPU is known as the arrival time.

流程到达运行状态的时间称为流程的到达时间。 简而言之,任何进程进入CPU的时间称为到达时间。

2) Completion Time (CT)

2)完成时间(CT)

The time when the Process is done with all its execution and it enters the termination state is called as the completion time of the process. It can be also defined as the time when a process ends.

流程完成所有执行并进入终止状态的时间称为流程的完成时间。 也可以将其定义为进程结束的时间。

3) Burst Time (BT)

3)爆发时间(BT)

The time for which the process needs to be in the running state is known as the burst time of the process. We can also define it as the time which a process requires for execution is the Burst time of the process.

流程需要处于运行状态的时间称为流程的爆发时间。 我们还可以将其定义为流程执行所需的时间是该流程的爆发时间。

4) Turn Around Time (TAT)

4)周转时间(TAT)

Turn Around time can be defined as the total time the process remains in the main memory of the system. The Ready state, Waiting for state and the Running State, together make up the main memory of the system. So, the time for which the process remains in these states is known as the Turn Around Time of the process. In simple words, it is the time that a process spends after entering the ready state and before entering the termination state.

周转时间可以定义为进程保留在系统主内存中的总时间。 就绪状态,等待状态和运行状态共同构成系统的主内存。 因此,过程保持在这些状态下的时间称为过程的周转时间。 简而言之,它是指流程在进入就绪状态之后和进入终止状态之前所花费的时间。

It can be calculated as follows:

可以计算如下:

    Turn Around Time = Completion Time – Arrival Time
    TAT = CT - AT

5) Waiting Time (WT)

5)等待时间(WT)

The time for which a process waits for going into the running state. It is the sum of the time spent by the process in the ready state and the waiting state. Another way of calculating it is as follows:

进程等待进入运行状态的时间。 它是过程在就绪状态和等待状态下花费的时间的总和。 另一种计算方法如下:

    Waiting Time= Turn Around Time – Burst Time
    WT = TAT – BT

6) Response Time

6)响应时间

The time difference between the first time a process goes into the running state and the arrival time of the process is called the response time of the process.

流程第一次进入运行状态与流程到达时间之间的时间差称为流程响应时间。

7) Gant Chart

7)甘特图

The Gant chart is used to represent the currently executing process at every single unit of time. This time unit is the smallest unit of time in the processor.

Gant图表用于表示每个单个时间单位的当前执行过程。 该时间单位是处理器中最小的时间单位。

翻译自: https://www.includehelp.com/operating-systems/important-terms-used-in-process-scheduling.aspx

code craft

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
SELECT bs.report_no, bs.sample_id, bs.test_id, bs.service_type, bs.sample_name, bs.total_fee, bs.receivable_fee, bs.sample_no, bs.ranges, bs.grade, bs.sample_remark AS remark, bs.factory, bs.item_name, bs.apply_dept, bs.specification, bs.factory_number, bs.calibrat_point, bs.mandatory_flag, bs.inspection_type, bs.report_org_name, bs.plan_complete_date, bs.standard_instrument_name, bs.bleeding_site_name, bs.arrive_date, DATEDIFF( bs.plan_complete_date, NOW()) AS surplus_days, bs.order_no, bs.order_type, bs.customer_name, bs.order_id, bs.business_type, bs.group_id, bs.group_name, bs.item_id, bs.is_merge, bs.pass_time, bs.audit_time, bs.report_id, bs.compile_time, bs.generate_time, bs.pass_user_name, bs.audit_user_name, bs.compile_user_name, bs.report_state, bs.is_just_certificate, bs.label_price, bs.labor_cost, bs.product_type, bs.batch_number, bs.original_number, bs.type_no, bs.template_id, bs.template_version, bs.standard_instrument_id, bs.standard_instrument_name, bs.report_query_code, bs.test_user_id, bs.test_user_name, bs.test_time, bs.review_user_id, bs.review_user_name, bs.review_time, bs.or_number, bs.test_result, bs.test_result_text, bs.test_date, bs.test_address, bs.result_value, bs.unit, bs.test_dept_id, bs.test_dept_name, bs.sample_mass, bs.form, bs.color, bs.clarity, bs.amplification_detection, bs.precious_metal, bs.remarks, bs.photo, bs.identifying_code, bs.diamond_quality, bs.hand_ring, bs.craft, bs.instrument_photo, bs.customer_item_basis, bs.quality_photo, bs.check_point, bs.check_code, bs.mass_unit, bs.manufacturer_name, bs.manufacturer_addr, bs.result_sample_describe AS sampleDescribe, bs.test_rule AS metalRuleIdsStr, bsa.attach_id FROM view_sample_info bs JOIN bus_sample_report bsr ON bs.report_id = bsr.id JOIN bus_sample sa ON bsr.sample_id = sa.id JOIN bus_sample_attr bsa ON sa.id = bsa.id 需要按照bs.report_no 的整数来从小到大进行排序
07-15

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值