Function report |
Source Code:kernel\time\posix-timers.c |
Create Date:2022-07-28 10:46:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:common_hrtimer_arm
Proto:static void common_hrtimer_arm(struct k_itimer *timr, ktime_t expires, bool absolute, bool sigev_none)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct k_itimer * | timr | |
ktime_t | expires | |
bool | absolute | |
bool | sigev_none |
779 | mode = If absolute Then Time value is absolute Else Time value is relative to now |
789 | If it_clock == The IDs of the various system clocks (for POSIX.1b interval timers): Then kclock = If absolute Then clock_realtime Else clock_monotonic |
795 | If Not absolute Then expires = Add two ktime values and do a safety check for overflow: |
797 | hrtimer_set_expires(timer, expires) |
799 | If Not sigev_none Then hrtimer_start_expires(timer, Time value is absolute) |
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 |