Searched refs:new_interval (Results 1 – 1 of 1) sorted by relevance
319 struct itimerval new_interval; in stop_itimer() local322 new_interval.it_interval.tv_sec = 0; in stop_itimer()323 new_interval.it_interval.tv_usec = 0; in stop_itimer()324 new_interval.it_value.tv_sec = 0; in stop_itimer()325 new_interval.it_value.tv_usec = 0; in stop_itimer()326 if (setitimer(ITIMER_REAL,&new_interval,&old_interval) != 0) { in stop_itimer()1012 struct itimerval new_interval; in start_itimer() local1052 new_interval.it_interval.tv_sec = usec_per_itvl / 1000000; in start_itimer()1053 new_interval.it_interval.tv_usec = usec_per_itvl % 1000000; in start_itimer()1054 new_interval.it_value.tv_sec = usec_per_itvl / 1000000; in start_itimer()[all …]