Function report |
Source Code:kernel\time\clockevents.c |
Create Date:2022-07-28 10:49:51 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lockevents_program_min_delta - Set clock event device to the minimum delay.*@dev: device to program* Returns 0 on success, -ETIME when the retry loop failed.
Proto:static int clockevents_program_min_delta(struct clock_event_device *dev)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct clock_event_device * | dev |
| 275 | delta = 0 |
| 279 | delta += min_delta_ns |
| 280 | next_event = Add a ktime_t variable and a scalar nanosecond value.* res = kt + nsval:(ktime_get(), delta) |
| 282 | If clockevent_state_shutdown(dev) Then Return 0 |
| 285 | retries++ |
| 287 | If set_next_event((unsignedlong)clc, dev) == 0 Then Return 0 |
| 290 | Return -ETIME |
| Name | Describe |
|---|---|
| clockevents_program_event | lockevents_program_event - Reprogram the clock event device.*@dev: device to program*@expires: absolute expiry time (monotonic clock)*@force: program minimum delay if expires can not be set* Returns 0 on success, -ETIME when the event is in the past. |
| 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 |