Home
last modified time | relevance | path

Searched refs:tnow (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Dudpgso_bench_tx.c618 unsigned long tnow, treport, tstop; in main() local
662 tnow = gettimeofday_ms(); in main()
663 tstart = tnow; in main()
664 tend = tnow; in main()
665 tstop = tnow + cfg_runtime_ms; in main()
666 treport = tnow + 1000; in main()
685 tnow = gettimeofday_ms(); in main()
686 if (tnow >= treport) { in main()
689 treport = tnow + 1000; in main()
696 } while (!interrupted && (cfg_runtime_ms == -1 || tnow < tstop)); in main()
[all …]
H A Dudpgso_bench_rx.c357 unsigned long tnow, treport; in do_recv() local
377 tnow = gettimeofday_ms(); in do_recv()
378 if (tnow > treport) { in do_recv()
385 treport = tnow + 1000; in do_recv()
/OK3568_Linux_fs/buildroot/dl/unixbench/git/UnixBench/src/
H A Dwhets.c1005 struct time tnow; variable
1011 gettime(&tnow); in dtime()
1013 q = 60.0 * (SPDP)(tnow.ti_min); in dtime()
1014 q = q + (SPDP)(tnow.ti_sec); in dtime()
1015 q = q + (SPDP)(tnow.ti_hund)/(SPDP)HZ; in dtime()
1031 clock_t tnow; variable
1037 tnow = clock(); in dtime()
1038 q = (SPDP)tnow / (SPDP)HZ; in dtime()
1123 struct timeval tnow; variable
1129 gettimeofday(&tnow,NULL); in dtime()
[all …]
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/qib/
H A Dqib_iba7220.c1059 unsigned long tnow; in handle_7220_chase() local
1074 tnow = jiffies; in handle_7220_chase()
1076 time_after(tnow, ppd->cpspec->chase_end)) { in handle_7220_chase()
1085 ppd->cpspec->chase_end = tnow + QIB_CHASE_TIME; in handle_7220_chase()
H A Dqib_iba7322.c1754 static void disable_chase(struct qib_pportdata *ppd, unsigned long tnow, in disable_chase() argument
1771 unsigned long tnow; in handle_serdes_issues() local
1786 tnow = jiffies; in handle_serdes_issues()
1788 time_after(tnow, ppd->cpspec->chase_end)) in handle_serdes_issues()
1789 disable_chase(ppd, tnow, ibclt); in handle_serdes_issues()
1791 ppd->cpspec->chase_end = tnow + QIB_CHASE_TIME; in handle_serdes_issues()