Searched refs:TimerVal (Results 1 – 1 of 1) sorted by relevance
156 struct itimerval TimerVal; in adjustTimer() local157 TimerVal.it_interval.tv_sec = (time_t) Freq / 1000; in adjustTimer()158 TimerVal.it_interval.tv_usec = (time_t) (Freq % 1000) * 1000; in adjustTimer()159 TimerVal.it_value.tv_sec = (time_t) Freq / 1000; in adjustTimer()160 TimerVal.it_value.tv_usec = (time_t) (Freq % 1000) * 1000; in adjustTimer()164 int Res = setitimer(ITIMER_REAL, &TimerVal, nullptr); in adjustTimer()