Lines Matching refs:t

194 	struct timespec t;  in gettime()  local
197 res = clock_gettime(CLOCK_MONOTONIC, &t); in gettime()
202 return (__u64)t.tv_sec * NANOSEC_PER_SEC + t.tv_nsec; in gettime()
653 double t, pps, drop, err; in stats_get_rx_cnt() local
658 t = calc_period(rec, prev); in stats_get_rx_cnt()
665 pps = calc_pps(r, p, t); in stats_get_rx_cnt()
666 drop = calc_drop_pps(r, p, t); in stats_get_rx_cnt()
667 err = calc_errs_pps(r, p, t); in stats_get_rx_cnt()
678 pps = calc_pps(&rec->total, &prev->total, t); in stats_get_rx_cnt()
679 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_rx_cnt()
680 err = calc_errs_pps(&rec->total, &prev->total, t); in stats_get_rx_cnt()
696 double t, pps, drop, err; in stats_get_cpumap_enqueue() local
703 t = calc_period(rec, prev); in stats_get_cpumap_enqueue()
705 pps = calc_pps(&rec->total, &prev->total, t); in stats_get_cpumap_enqueue()
706 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_cpumap_enqueue()
707 err = calc_errs_pps(&rec->total, &prev->total, t); in stats_get_cpumap_enqueue()
728 pps = calc_pps(r, p, t); in stats_get_cpumap_enqueue()
729 drop = calc_drop_pps(r, p, t); in stats_get_cpumap_enqueue()
730 err = calc_errs_pps(r, p, t); in stats_get_cpumap_enqueue()
751 double t; in stats_get_cpumap_remote() local
756 t = calc_period(rec, prev); in stats_get_cpumap_remote()
759 &xdp_redirect, t); in stats_get_cpumap_remote()
772 calc_xdp_pps(r, p, &xdp_pass, &xdp_drop, &xdp_redirect, t); in stats_get_cpumap_remote()
789 double t, pps, drop, err; in stats_get_cpumap_kthread() local
794 t = calc_period(rec, prev); in stats_get_cpumap_kthread()
796 pps = calc_pps(&rec->total, &prev->total, t); in stats_get_cpumap_kthread()
797 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_cpumap_kthread()
798 err = calc_errs_pps(&rec->total, &prev->total, t); in stats_get_cpumap_kthread()
809 pps = calc_pps(r, p, t); in stats_get_cpumap_kthread()
810 drop = calc_drop_pps(r, p, t); in stats_get_cpumap_kthread()
811 err = calc_errs_pps(r, p, t); in stats_get_cpumap_kthread()
828 double t, pps; in stats_get_redirect_cnt() local
833 t = calc_period(rec, prev); in stats_get_redirect_cnt()
839 pps = calc_pps(r, p, t); in stats_get_redirect_cnt()
848 pps = calc_pps(&rec->total, &prev->total, t); in stats_get_redirect_cnt()
860 double t, drop, sum = 0; in stats_get_redirect_err_cnt() local
868 t = calc_period(rec, prev); in stats_get_redirect_err_cnt()
870 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_redirect_err_cnt()
885 drop = calc_drop_pps(r, p, t); in stats_get_redirect_err_cnt()
908 double t, drop, sum = 0; in stats_get_exception_cnt() local
915 t = calc_period(rec, prev); in stats_get_exception_cnt()
917 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_exception_cnt()
931 drop = calc_drop_pps(r, p, t); in stats_get_exception_cnt()
955 double t; in stats_get_devmap_xmit() local
960 t = calc_period(rec, prev); in stats_get_devmap_xmit()
966 pps = calc_pps(r, p, t); in stats_get_devmap_xmit()
967 drop = calc_drop_pps(r, p, t); in stats_get_devmap_xmit()
968 err = calc_errs_pps(r, p, t); in stats_get_devmap_xmit()
974 info = calc_info_pps(r, p, t); in stats_get_devmap_xmit()
983 pps = calc_pps(&rec->total, &prev->total, t); in stats_get_devmap_xmit()
984 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_devmap_xmit()
985 info = calc_info_pps(&rec->total, &prev->total, t); in stats_get_devmap_xmit()
988 err = calc_errs_pps(&rec->total, &prev->total, t); in stats_get_devmap_xmit()
1009 double t; in stats_get_devmap_xmit_multi() local
1044 t = calc_period(r, p); in stats_get_devmap_xmit_multi()
1045 pps = calc_pps(&r->total, &p->total, t); in stats_get_devmap_xmit_multi()
1046 drop = calc_drop_pps(&r->total, &p->total, t); in stats_get_devmap_xmit_multi()
1047 info = calc_info_pps(&r->total, &p->total, t); in stats_get_devmap_xmit_multi()
1050 err = calc_errs_pps(&r->total, &p->total, t); in stats_get_devmap_xmit_multi()
1083 pps = calc_pps(rc, pc, t); in stats_get_devmap_xmit_multi()
1084 drop = calc_drop_pps(rc, pc, t); in stats_get_devmap_xmit_multi()
1085 err = calc_errs_pps(rc, pc, t); in stats_get_devmap_xmit_multi()
1091 info = calc_info_pps(rc, pc, t); in stats_get_devmap_xmit_multi()
1502 __u64 t; in sample_timer_cb() local
1504 ret = read(timerfd, &t, sizeof(t)); in sample_timer_cb()
1516 const char *f, *t; in sample_timer_cb() local
1518 f = t = NULL; in sample_timer_cb()
1522 t = to; in sample_timer_cb()
1524 snprintf(line, sizeof(line), "%s->%s", f ?: "?", t ?: "?"); in sample_timer_cb()