Home
last modified time | relevance | path

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

/samples/bpf/
Dhbm.c207 struct timeval t0, t_last, t_new; in run_bpf_prog() local
227 if (gettimeofday(&t_new, NULL) < 0) in run_bpf_prog()
229 delta_ms = (t_new.tv_sec - t0.tv_sec) * 1000 + in run_bpf_prog()
230 (t_new.tv_usec - t0.tv_usec)/1000; in run_bpf_prog()
233 delta_time = (t_new.tv_sec - t_last.tv_sec) * 1000000 + in run_bpf_prog()
234 (t_new.tv_usec - t_last.tv_usec); in run_bpf_prog()
237 t_last = t_new; in run_bpf_prog()