Function report |
Source Code:block\blk-throttle.c |
Create Date:2022-07-28 17:44:21 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:blk_throtl_update_idletime
Proto:static void blk_throtl_update_idletime(struct throtl_grp *tg)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct throtl_grp * | tg |
| 2067 | now = ktime_get_ns() >> 10 |
| 2068 | last_finish_time = ns / 1024 |
| 2070 | If now <= last_finish_time || last_finish_time == 0 || last_finish_time == ns / 1024 Then Return |
| 2074 | ns / 1024 = ns / 1024 * 7 + now - last_finish_time >> 3 |
| 2075 | ns / 1024 = last_finish_time |
| Name | Describe |
|---|---|
| blk_throtl_bio |
| 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 |