Function report |
Source Code:block\blk-throttle.c |
Create Date:2022-07-28 17:42:58 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:throtl_dispatch_tg
Proto:static int throtl_dispatch_tg(struct throtl_grp *tg)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct throtl_grp * | tg |
| 1176 | sq = this group's service queue |
| 1178 | max_nr_reads = Max dispatch from a group in 1 round * 3 / 4 |
| 1188 | nr_reads++ |
| 1190 | If nr_reads >= max_nr_reads Then Break |
| 1198 | nr_writes++ |
| 1200 | If nr_writes >= max_nr_writes Then Break |
| Name | Describe |
|---|---|
| throtl_select_dispatch |
| 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 |