函数逻辑报告 |
Source Code:block\kyber-iosched.c |
Create Date:2022-07-27 19:28:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:add_latency_sample
函数原型:static void add_latency_sample(struct kyber_cpu_latency *cpu_latency, unsigned int sched_domain, unsigned int type, u64 target, u64 latency)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kyber_cpu_latency * | cpu_latency | |
unsigned int | sched_domain | |
unsigned int | type | |
u64 | target | |
u64 | latency |
624 | 如果latency大于0则 |
625 | divisor等于max_t - return maximum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(u64, target >> KYBER_LATENCY_SHIFT, 1) |
628 | 否则 |
629 | bucket等于0 |
632 | atomic_inc( & buckets[sched_domain][type][bucket]) |
名称 | 描述 |
---|---|
kyber_completed_request |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |