Searched refs:tv1 (Results 1 – 2 of 2) sorted by relevance
33 static void ip_perf_record_stats(net_perf_t *npp, struct timeval *tv1,53 ip_perf_record_stats(net_perf_t *npp, struct timeval *tv1, struct timeval *tv2, uint64_t num_pkts) in ip_perf_record_stats() argument57 timersub(tv2, tv1, &tv_diff); in ip_perf_record_stats()
68 timeval_add(struct timeval tv1, struct timeval tv2, in timeval_add() argument71 result->tv_sec = tv1.tv_sec + tv2.tv_sec; in timeval_add()72 result->tv_usec = tv1.tv_usec + tv2.tv_usec; in timeval_add()