Searched refs:time_in_sec (Results 1 – 2 of 2) sorted by relevance
401 timeval SecondToTimeval(double time_in_sec) { in SecondToTimeval() argument403 tv.tv_sec = static_cast<time_t>(time_in_sec); in SecondToTimeval()404 tv.tv_usec = static_cast<int>((time_in_sec - tv.tv_sec) * 1000000); in SecondToTimeval()
162 timeval SecondToTimeval(double time_in_sec);