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