Home
last modified time | relevance | path

Searched refs:OneSecondasNS (Results 1 – 2 of 2) sorted by relevance

/openbmc/openbmc-tools/pwmtachtool/src/
H A DEINTR_wrappers.c19 static const int OneSecondasNS = 1000000000; variable
58 if (pDst->EndTime.tv_nsec >= OneSecondasNS) in sigwrap_InitTimeout()
60 pDst->EndTime.tv_sec += (pDst->EndTime.tv_nsec / OneSecondasNS); in sigwrap_InitTimeout()
61 pDst->EndTime.tv_nsec = (pDst->EndTime.tv_nsec % OneSecondasNS); in sigwrap_InitTimeout()
88 pTo->Timeout.tv_nsec += OneSecondasNS; in sigwrap_CheckTimeout()
/openbmc/openbmc-tools/adcapp/src/
H A DEINTR_wrappers.c19 static const int OneSecondasNS = 1000000000; variable
58 if (pDst->EndTime.tv_nsec >= OneSecondasNS) in sigwrap_InitTimeout()
60 pDst->EndTime.tv_sec += (pDst->EndTime.tv_nsec / OneSecondasNS); in sigwrap_InitTimeout()
61 pDst->EndTime.tv_nsec = (pDst->EndTime.tv_nsec % OneSecondasNS); in sigwrap_InitTimeout()
88 pTo->Timeout.tv_nsec += OneSecondasNS; in sigwrap_CheckTimeout()