Function report |
Source Code:block\bfq-wf2q.c |
Create Date:2022-07-28 17:59:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:q_idle_insert - insert an entity into the idle tree.*@st: the service tree containing the tree.*@entity: the entity to insert.
Proto:static void bfq_idle_insert(struct bfq_service_tree *st, struct bfq_entity *entity)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct bfq_service_tree * | st | |
struct bfq_entity * | entity |
617 | bfqq = bfq_entity_to_bfqq(entity) |
621 | If Not first_idle || q_gt - compare two timestamps.*@a: first ts.*@b: second ts.* Return @a > @b, dealing with wrapping correctly. Then dle entity with minimum F_i = entity |
623 | If Not last_idle || q_gt - compare two timestamps.*@a: first ts.*@b: second ts.* Return @a > @b, dealing with wrapping correctly. Then dle entity with maximum F_i = entity |
628 | If bfqq Then list_add - add a new entry*@new: new entry to be added*@head: list head to add it after* Insert a new entry after the specified head.* This is good for implementing stacks. |
Name | Describe |
---|---|
__bfq_deactivate_entity | __bfq_deactivate_entity - update sched_data and service trees for* entity, so as to represent entity as inactive*@entity: the entity being deactivated.*@ins_into_idle_tree: if false, the entity will not be put into the* idle tree. |
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 |