tc: fq: display unthrottle latency

In linux-4.9 fq packet scheduler got a new stat :

unthrottle_latency in nano second units.

Gives a good indication of system load or timer implementation
latencies.

Signed-off-by: Eric Dumazet <edumazet@google.com>
This commit is contained in:
Eric Dumazet 2016-09-28 06:23:15 -07:00 committed by Stephen Hemminger
parent 4654173e90
commit 39f8caeb96
1 changed files with 3 additions and 0 deletions

View File

@ -312,6 +312,9 @@ static int fq_print_xstats(struct qdisc_util *qu, FILE *f,
fprintf(f, ", %llu throttled", st->throttled); fprintf(f, ", %llu throttled", st->throttled);
if (st->unthrottle_latency_ns)
fprintf(f, ", %u ns latency", st->unthrottle_latency_ns);
if (st->flows_plimit) if (st->flows_plimit)
fprintf(f, ", %llu flows_plimit", st->flows_plimit); fprintf(f, ", %llu flows_plimit", st->flows_plimit);