Searched refs:MSEC_PER_SEC (Results 1 – 12 of 12) sorted by relevance
13 #define MSEC_PER_SEC (1000L) macro27 ts.tv_sec = timeout / MSEC_PER_SEC; in do_epoll_pwait()28 ts.tv_nsec = NSEC_PER_MSEC * (timeout % MSEC_PER_SEC); in do_epoll_pwait()
45 #ifndef MSEC_PER_SEC46 #define MSEC_PER_SEC 1000L macro
46 #ifndef MSEC_PER_SEC47 #define MSEC_PER_SEC 1000L macro459 … millisecs_last = (curr_ticks - start_ticks) * MSEC_PER_SEC / LOSCFG_BASE_CORE_TICK_PER_SECOND; in poll()470 wait_time.tv_sec = millisecs_left / MSEC_PER_SEC; in poll()471 wait_time.tv_nsec = (millisecs_left - MSEC_PER_SEC * wait_time.tv_sec) * NSEC_PER_MSEC; in poll()
44 abstime.tv_sec = tw_ms / MSEC_PER_SEC; in cv_timedwait()45 abstime.tv_nsec = (tw_ms%MSEC_PER_SEC) * NSEC_PER_MSEC; in cv_timedwait()
39 #define MSEC_PER_SEC 1000ULL macro
156 if (poll(pfd, 1, MSEC_PER_SEC) > 0 && pfd[0].revents & POLLIN) in adm_settle()
508 timeout = ((timeout_usec - age_usec) / USEC_PER_MSEC) + MSEC_PER_SEC; in spawn_read()599 … timeout_warn = ((timeout_warn_usec - age_usec) / USEC_PER_MSEC) + MSEC_PER_SEC; in spawn_wait()601 … timeout = ((timeout_usec - timeout_warn_usec - age_usec) / USEC_PER_MSEC) + MSEC_PER_SEC; in spawn_wait()
293 r = poll(pfd, 1, timeout * MSEC_PER_SEC); in ctrl_send()
1393 timeout = 30 * MSEC_PER_SEC; in main()1399 timeout = 3 * MSEC_PER_SEC; in main()
293 #define USEC_PER_SEC (1000 * MSEC_PER_SEC)294 #define MSEC_PER_SEC (1000) macro
357 #define USEC_PER_SEC (1000 * MSEC_PER_SEC)358 #define MSEC_PER_SEC (1000) macro
1569 public const usec MSEC_PER_SEC;