From 4f79d454792f494e4e241ea02bc4979946827708 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 24 Jun 2012 14:24:33 +0200 Subject: optimization --- lib/Loadbars/Shared.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/Loadbars/Shared.pm') diff --git a/lib/Loadbars/Shared.pm b/lib/Loadbars/Shared.pm index 01dc9fc..362161f 100644 --- a/lib/Loadbars/Shared.pm +++ b/lib/Loadbars/Shared.pm @@ -7,6 +7,7 @@ use base 'Exporter'; our @EXPORT = qw( %PIDS %CPUSTATS + %NETSTATS_LASTUPDATE %AVGSTATS %AVGSTATS_HAS %MEMSTATS @@ -30,6 +31,7 @@ our %MEMSTATS_HAS : shared; our %NETSTATS : shared; our %NETSTATS_HAS : shared; our %NETSTATS_INT : shared; +our %NETSTATS_LASTUPDATE : shared; # Global configuration hash our %C : shared; @@ -41,6 +43,7 @@ our %I : shared; %C = ( title => undef, average => 15, + netaverage => 5, barwidth => 35, extended => 0, factor => 1, -- cgit v1.2.3