函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\kyber-iosched.c Create Date:2022-07-27 19:27:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:kyber_timer_fn

函数原型:static void kyber_timer_fn(struct timer_list *t)

返回类型:void

参数:

类型参数名称
struct timer_list *t
278  kqd等于from_timer(kqd, t, timer)
281  bool bad = false
284  遍历在线CPU(cpu)
287  cpu_latency等于per_cpu_ptr(cpu_latency, cpu)
301 sched_domain小于KYBER_OTHER循环
304  p90等于Calculate the histogram bucket with the given percentile rank, or -1 if there* aren't enough samples yet.
306  如果p90大于等于KYBER_GOOD_BUCKETSbad = true
315 sched_domain小于KYBER_OTHER循环
319  p99等于Calculate the histogram bucket with the given percentile rank, or -1 if there* aren't enough samples yet.
329  如果bad
330  如果p99小于0则p99等于domain_p99[sched_domain]
332  domain_p99[sched_domain]等于负1
333  否则如果p99大于等于0则
336  如果p99小于0则继续下一循环
348  如果badp99大于等于KYBER_GOOD_BUCKETS
350  depth等于orig_depthp99加1的和右移KYBER_LATENCY_SHIFT