Function report |
Source Code:block\bfq-wf2q.c |
Create Date:2022-07-28 17:59:45 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:q_bfqq_served - update the scheduler status after selection for* service.*@bfqq: the queue being served.*@served: bytes to transfer.* NOTE: this can be optimized, as the timestamps of upper level entities
Proto:void bfq_bfqq_served(struct bfq_queue *bfqq, int served)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bfq_queue * | bfqq | |
| int | served |
| 840 | If Not Cumulative service received from the @bfq_queue since the* last transition from idle to backlogged. Then ime of first I/O for this queue = jiffies |
| 843 | If actor by which the weight of this queue is multiplied > 1 Then Cumulative service received from the @bfq_queue since its* last transition to weight-raised state. += served |
| 846 | Cumulative service received from the @bfq_queue since the* last transition from idle to backlogged. += served |
| 848 | st = bfq_entity_service_tree(entity) |
| 852 | scheduler virtual time += q_delta - map service into the virtual time domain.*@service: amount of service.*@weight: scale factor (weight of an entity or weight sum). |
| 855 | bfq_log_bfqq(parent bfq_data , bfqq, "bfqq_served %d secs", served) |
| Name | Describe |
|---|---|
| bfq_bfqq_charge_time | q_bfqq_charge_time - charge an amount of service equivalent to the length* of the time interval during which bfqq has been in* service |
| 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 |