Searched refs:ts (Results 1 - 3 of 3) sorted by relevance
/commonlibrary/utils_lite/kal/timer/src/ |
H A D | kal.c | 83 struct itimerspec ts = {0};
in KalTimerStart() local 85 KalMs2TimeSpec(&ts.it_value, tmpPtr->millisec);
in KalTimerStart() 87 KalMs2TimeSpec(&ts.it_interval, tmpPtr->millisec);
in KalTimerStart() 89 int ret = timer_settime(tmpPtr->timerPtr, 0, &ts, NULL);
in KalTimerStart() 105 struct itimerspec ts = {0};
in KalTimerChange() local 108 KalMs2TimeSpec(&ts.it_value, millisec);
in KalTimerChange() 110 KalMs2TimeSpec(&ts.it_interval, millisec);
in KalTimerChange() 112 int ret = timer_settime(tmpPtr->timerPtr, 0, &ts, NULL);
in KalTimerChange() 130 struct itimerspec ts = {0};
in KalTimerStop() local 131 int ret = timer_settime(tmpPtr->timerPtr, 0, &ts, NUL in KalTimerStop() [all...] |
/commonlibrary/c_utils/base/src/ |
H A D | datetime_ex.cpp | 104 struct timespec ts; in GetMicroTickCount() local 105 clock_gettime(CLOCK_MONOTONIC, &ts); in GetMicroTickCount() 106 return (ts.tv_sec * SEC_TO_MICROSEC + ts.tv_nsec / MICROSEC_TO_NANOSEC); in GetMicroTickCount()
|
/commonlibrary/ets_utils/js_concurrent_module/utils/test/ |
H A D | test_locks.cpp | 95 timespec ts{0, 100U * 1000U * 1000U}; // 100ms in Sleep() 96 nanosleep(&ts, nullptr); in Sleep()
|
Completed in 3 milliseconds