Home
last modified time | relevance | path

Searched refs:itval (Results 1 – 3 of 3) sorted by relevance

/base/powermgr/thermal_manager/application/protector/src/
Dthermal_protector_timer.cpp106 struct itimerspec itval; in SetTimerInterval() local
118 itval.it_interval.tv_sec = interval / MS_PER_SECOND; in SetTimerInterval()
119 itval.it_interval.tv_nsec = 0; in SetTimerInterval()
120 itval.it_value.tv_sec = interval / MS_PER_SECOND; in SetTimerInterval()
121 itval.it_value.tv_nsec = 0; in SetTimerInterval()
122 if (timerfd_settime(timerfd, 0, &itval, nullptr) == -1) { in SetTimerInterval()
Dthermal_sensor_provider.cpp157 struct itimerspec itval; in SetTimerInterval() local
167 itval.it_interval.tv_sec = interval / MS_PER_SECOND; in SetTimerInterval()
168 itval.it_interval.tv_nsec = 0; in SetTimerInterval()
169 itval.it_value.tv_sec = interval / MS_PER_SECOND; in SetTimerInterval()
170 itval.it_value.tv_nsec = 0; in SetTimerInterval()
171 if (timerfd_settime(timerfd, 0, &itval, nullptr) == -1) { in SetTimerInterval()
/base/msdp/device_status/libs/src/
Ddevicestatus_msdp_mock.cpp152 struct itimerspec itval; in SetTimerInterval() local
153 itval.it_interval.tv_sec = interval; in SetTimerInterval()
154 itval.it_interval.tv_nsec = 0; in SetTimerInterval()
155 itval.it_value.tv_sec = interval; in SetTimerInterval()
156 itval.it_value.tv_nsec = 0; in SetTimerInterval()
157 if (timerfd_settime(timerFd_, 0, &itval, nullptr) == -1) { in SetTimerInterval()