summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-06-09 12:13:08 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-06-09 12:13:08 +0200
commit5fc583888daa89cf6f3c460e1c6995aadfc04099 (patch)
tree596636c7bf1dacad8015c0803edb4f093c6a2061
parent2f74f6e53de49b981edf3ca337c897dec297c1aa (diff)
ifpps: Don't calculate diff for stats values not used for relative values
These stats values are not reported anywhere in relative terms, so it makes no sense to calculate the difference for them. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r--ifpps.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ifpps.c b/ifpps.c
index f2becb5..646c114 100644
--- a/ifpps.c
+++ b/ifpps.c
@@ -478,14 +478,10 @@ static void stats_diff(struct ifstat *old, struct ifstat *new,
DIFF(tx_colls);
DIFF(tx_carrier);
- DIFF1(procs_run);
- DIFF1(procs_iow);
-
DIFF1(wifi.signal_level);
DIFF1(wifi.link_qual);
DIFF1(cswitch);
- DIFF1(forks);
cpus = get_number_cpus();