Home
last modified time | relevance | path

Searched refs:tstop (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/tools/testing/selftests/net/
Dso_txtime.c95 int64_t tstop, texpect; in do_recv_one() local
105 tstop = (gettime_ns() - glob_tstart) / 1000; in do_recv_one()
109 rbuf[0], tstop, texpect); in do_recv_one()
114 if (labs(tstop - texpect) > cfg_variance_us) in do_recv_one()
Dmsg_zerocopy.c469 int64_t tstop = gettimeofday_ms() + cfg_waittime_ms; in do_recv_remaining_completions() local
472 gettimeofday_ms() < tstop) { in do_recv_remaining_completions()
492 uint64_t tstop; in do_tx() local
546 tstop = gettimeofday_ms() + cfg_runtime_ms; in do_tx()
558 } while (gettimeofday_ms() < tstop); in do_tx()
655 uint64_t tstop; in do_rx() local
660 tstop = gettimeofday_ms() + cfg_runtime_ms + cfg_receiver_wait_ms; in do_rx()
669 } while (gettimeofday_ms() < tstop); in do_rx()
Dudpgso_bench_tx.c611 unsigned long tnow, treport, tstop; in main() local
658 tstop = tnow + cfg_runtime_ms; in main()
689 } while (!interrupted && (cfg_runtime_ms == -1 || tnow < tstop)); in main()
/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_flow_dissector.c513 unsigned long tstop, treport, tcur; in do_main() local
525 tstop = tcur + (cfg_num_secs * 1000); in do_main()
536 if (tcur >= tstop) in do_main()
552 tstop = util_gettime() + 100; in do_main()
555 if (tcur >= tstop) in do_main()
558 do_poll(fdr, POLLIN, tstop - tcur); in do_main()