Function report |
Source Code:block\blk-wbt.c |
Create Date:2022-07-28 18:07:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:wb_timer_fn
Proto:static void wb_timer_fn(struct blk_stat_callback *cb)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct blk_stat_callback * | cb |
356 | inflight = wbt_inflight(rwb) |
370 | Case status == LAT_EXCEEDED |
371 | scale_down(rwb, true) |
372 | Break |
376 | Case status == LAT_UNKNOWN_WRITES |
384 | Case status == LAT_UNKNOWN |
385 | If ++* Number of consecutive periods where we don't have enough * information to make a firm scale up/down decision. < RWB_UNKNOWN_BUMP Then Break |
392 | If scale_step > 0 Then scale_up(rwb) |
394 | Else if scale_step < 0 Then scale_down(rwb, false) |
396 | Break |
397 | Default |
398 | Break |
404 | If scale_step || inflight Then rwb_arm_timer(rwb) |
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 |