Home
last modified time | relevance | path

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

/Linux-v5.10/samples/bpf/
Dhbm.c212 signed long long delta_time, delta_bytes, delta_rate; in run_bpf_prog() local
250 delta_rate = (delta_bytes * 8000000) / delta_time; in run_bpf_prog()
252 delta_ms, delta_rate/1000000000.0, in run_bpf_prog()
254 if (delta_rate < RATE_THRESHOLD) { in run_bpf_prog()
265 delta_rate = (delta_bytes * 8000000) / in run_bpf_prog()
268 delta_rate/1000000000.0); in run_bpf_prog()
270 delta_rate) * 100 / in run_bpf_prog()