Function report |
Source Code:block\kyber-iosched.c |
Create Date:2022-07-28 17:52:16 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:add_latency_sample
Proto:static void add_latency_sample(struct kyber_cpu_latency *cpu_latency, unsigned int sched_domain, unsigned int type, u64 target, u64 latency)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kyber_cpu_latency * | cpu_latency | |
| unsigned int | sched_domain | |
| unsigned int | type | |
| u64 | target | |
| u64 | latency |
| 624 | If latency > 0 Then |
| 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 | Else |
| 629 | bucket = 0 |
| 632 | atomic_inc( & buckets[sched_domain][type][bucket]) |
| Name | Describe |
|---|---|
| kyber_completed_request |
| 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 |