Function report |
Source Code:kernel\time\alarmtimer.c |
Create Date:2022-07-28 10:45:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:alarmtimer_init - Initialize alarm timer code* This function initializes the alarm bases and registers* the posix clock ids.
Proto:static int __init alarmtimer_init(void)
Type:int
Parameter:Nothing
894 | base_clockid = CLOCK_BOOTTIME |
895 | gettime = ktime_get_boottime - Returns monotonic time since boot in ktime_t format* This is similar to CLOCK_MONTONIC/ktime_get, but also includes the* time spent in suspend. |
896 | When i < Supported types end here cycle |
897 | timerqueue_init_head( & timerqueue) |
898 | Process spin lock initialization( & lock) |
901 | error = alarmtimer_rtc_interface_setup() |
909 | Return 0 |
910 | out_if : |
912 | Return error |
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 |