Function report | 
Source Code:kernel\time\timer.c | 
Create Date:2022-07-28 10:39:35 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:calc_wheel_index
Proto:static int calc_wheel_index(unsigned long expires, unsigned long clk)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned long | expires | |
| unsigned long | clk | 
| 504 | Else if delta < The time start value for each level to select the bucket at enqueue* time.(2) Then | 
| 506 | Else if delta < The time start value for each level to select the bucket at enqueue* time.(3) Then | 
| 508 | Else if delta < The time start value for each level to select the bucket at enqueue* time.(4) Then | 
| 510 | Else if delta < The time start value for each level to select the bucket at enqueue* time.(5) Then | 
| 512 | Else if delta < The time start value for each level to select the bucket at enqueue* time.(6) Then | 
| 514 | Else if delta < The time start value for each level to select the bucket at enqueue* time.(7) Then | 
| 516 | Else if LVL_DEPTH > 8 && delta < The time start value for each level to select the bucket at enqueue* time.(8) Then | 
| 518 | Else if delta < 0 Then | 
| 520 | Else | 
| 525 | If expires >= The cutoff (max. capacity of the wheel) Then expires = WHEEL_TIMEOUT_MAX | 
| 530 | Return idx | 
| Name | Describe | 
|---|---|
| __internal_add_timer | |
| __mod_timer | 
| 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  |