Searched refs:now_tv (Results 1 – 2 of 2) sorted by relevance
2224 struct timeval now_tv; in channel_parse_json() local2226 gettimeofday(&now_tv, NULL); in channel_parse_json()2227 timeout = now_tv.tv_sec > chanpart->ch_deadline.tv_sec in channel_parse_json()2228 || (now_tv.tv_sec == chanpart->ch_deadline.tv_sec in channel_parse_json()2229 && now_tv.tv_usec > chanpart->ch_deadline.tv_usec); in channel_parse_json()3764 struct timeval now_tv; in channel_read_json_block()3766 gettimeofday(&now_tv, NULL); in channel_read_json_block()3768 - now_tv.tv_sec) * 1000 in channel_read_json_block()3770 - now_tv.tv_usec) / 1000 in channel_read_json_block()
2798 struct timeval now_tv; in elapsed() local2800 gettimeofday(&now_tv, NULL); in elapsed()2801 return (now_tv.tv_sec - start_tv->tv_sec) * 1000L in elapsed()2802 + (now_tv.tv_usec - start_tv->tv_usec) / 1000L; in elapsed()