Function report |
Source Code:kernel\time\alarmtimer.c |
Create Date:2022-07-28 10:45:40 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:alarm_forward
Proto:u64 alarm_forward(struct alarm *alarm, ktime_t now, ktime_t interval)
Type:u64
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct alarm * | alarm | |
| ktime_t | now | |
| ktime_t | interval |
| 452 | overrun = 1 |
| 457 | If delta < 0 Then Return 0 |
| 460 | If Value for the false possibility is greater at compile time(delta >= interval) Then |
| 463 | overrun = ktime_divns(delta, incr) |
| 465 | expires = Add a ktime_t variable and a scalar nanosecond value.* res = kt + nsval:(expires, incr * overrun) |
| 474 | overrun++ |
| 478 | Return overrun |
| Name | Describe |
|---|---|
| alarm_forward_now |
| 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 |