Function report |
Source Code:kernel\time\posix-cpu-timers.c |
Create Date:2022-07-28 10:47:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:posix_cpu_timer_get
Proto:static void posix_cpu_timer_get(struct k_itimer *timer, struct itimerspec64 *itp)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct k_itimer * | timer | |
struct itimerspec64 * | itp |
704 | clkid = CPUCLOCK_WHICH(it_clock) |
706 | expires = cpu_timer_getexpires(ctmr) |
709 | If WARN_ON_ONCE(!p) Then Return |
717 | If Not expires Then Return |
723 | If CPUCLOCK_PERTHREAD(it_clock) Then |
725 | Else |
734 | sighand = lock_task_sighand(p, & flags) |
735 | If Value for the false possibility is greater at compile time(sighand == NULL) Then |
741 | cpu_timer_setexpires(ctmr, 0) |
742 | Return |
743 | Else |
751 | Else |
756 | nanoseconds = 1 |
757 | seconds = 0 |
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 |