Searched refs:TIMEVAL_TO_MILLIS (Results 1 – 1 of 1) sorted by relevance
19 #define TIMEVAL_TO_MILLIS(n) (n.tv_usec / 1000 + n.tv_sec * (uint64_t)1000) macro76 lim->last_update = TIMEVAL_TO_MILLIS(now); in _setup_tbf()132 now_millis = TIMEVAL_TO_MILLIS(now); in mcplib_ratelim_tbf_call()157 now_millis = TIMEVAL_TO_MILLIS(now); in mcplib_ratelim_proxy_tbf_call()