Function report | 
Source Code:block\kyber-iosched.c | 
Create Date:2022-07-28 17:51:50 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:kyber_timer_fn
Proto:static void kyber_timer_fn(struct timer_list *t)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct timer_list * | t | 
| 278 | kqd = from_timer(kqd, t, timer) | 
| 281 | bool bad = false | 
| 284 | for_each_online_cpu(cpu) | 
| 287 | cpu_latency = per_cpu_ptr(cpu_latency, cpu) | 
| 288 | When sched_domain < KYBER_OTHER cycle | 
| 301 | When sched_domain < KYBER_OTHER cycle | 
| 304 | p90 = Calculate the histogram bucket with the given percentile rank, or -1 if there* aren't enough samples yet. | 
| 306 | If p90 >= KYBER_GOOD_BUCKETS Then bad = true | 
| 315 | When sched_domain < KYBER_OTHER cycle | 
| 319 | p99 = Calculate the histogram bucket with the given percentile rank, or -1 if there* aren't enough samples yet. | 
| 329 | If bad Then | 
| 330 | If p99 < 0 Then p99 = domain_p99[sched_domain] | 
| 332 | domain_p99[sched_domain] = -1 | 
| 333 | Else if p99 >= 0 Then | 
| 334 | domain_p99[sched_domain] = p99 | 
| 336 | If p99 < 0 Then Continue | 
| 348 | If bad || p99 >= KYBER_GOOD_BUCKETS Then | 
| 350 | depth = orig_depth * (p99 + 1) >> KYBER_LATENCY_SHIFT | 
| 351 | kyber_resize_domain(kqd, sched_domain, depth) | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |