Function report |
Source Code:block\kyber-iosched.c |
Create Date:2022-07-28 17:52:19 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kyber_completed_request
Proto:static void kyber_completed_request(struct request *rq, u64 now)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct request * | rq | |
| u64 | now |
| 637 | kqd = elevator_data |
| 643 | If sched_domain == KYBER_OTHER Then Return |
| 646 | cpu_latency = get_cpu_ptr(cpu_latency) |
| 648 | add_latency_sample(cpu_latency, sched_domain, KYBER_TOTAL_LATENCY, target, now - Time that this request was allocated for this IO. ) |
| 650 | add_latency_sample(cpu_latency, sched_domain, KYBER_IO_LATENCY, target, now - Time that I/O was submitted to the device. ) |
| 652 | put_cpu_ptr(cpu_latency) |
| 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 |