Function report |
Source Code:lib\dim\rdma_dim.c |
Create Date:2022-07-28 07:19:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rdma_dim_decision
Proto:static bool rdma_dim_decision(struct dim_stats *curr_stats, struct dim *dim)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct dim_stats * | curr_stats | |
struct dim * | dim |
46 | prev_ix = profile_ix |
47 | state = tune_state |
51 | If state != DIM_PARKING_ON_TOP && state != DIM_PARKING_TIRED Then |
56 | Case stats_res == DIM_STATS_SAME |
57 | If atio of completions to events <= 50 * prev_ix Then profile_ix = 0 |
59 | Break |
60 | Case stats_res == DIM_STATS_WORSE |
63 | Case stats_res == DIM_STATS_BETTER |
65 | If step_res == DIM_ON_EDGE Then dim_turn(dim) |
67 | Break |
71 | prev_stats = curr_stats |
73 | Return profile_ix != prev_ix |
Name | Describe |
---|---|
rdma_dim |
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 |