函数逻辑报告 |
Source Code:block\bfq-wf2q.c |
Create Date:2022-07-27 19:35:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:q_bfqq_charge_time - charge an amount of service equivalent to the length* of the time interval during which bfqq has been in* service
函数原型:void bfq_bfqq_charge_time(struct bfq_data *bfqd, struct bfq_queue *bfqq, unsigned long time_ms)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bfq_data * | bfqd | |
struct bfq_queue * | bfqq | |
unsigned long | time_ms |
889 | timeout_ms等于Convert jiffies to milliseconds and back.* Avoid unnecessary multiplications/divisions in the* two most common HZ cases: |
890 | bounded_time_ms等于两数取小(time_ms, timeout_ms) |
891 | serv_to_charge_for_time等于 maximum budget allotted to a bfq_queue before rescheduling 乘bounded_time_ms除timeout_ms |
893 | tot_serv_to_charge等于两数取大(serv_to_charge_for_time, amount of service received during the last service slot ) |
896 | 如果tot_serv_to_charge大于 budget, used also to calculate F_i: F_i = S_i + @budget / @weight 则 budget, used also to calculate F_i: F_i = S_i + @budget / @weight 等于tot_serv_to_charge |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |