[xiph-commits] r17242 - trunk/mgm/modules/linux
xiphmont at svn.xiph.org
xiphmont at svn.xiph.org
Sat May 22 21:12:46 PDT 2010
Author: xiphmont
Date: 2010-05-22 21:12:46 -0700 (Sat, 22 May 2010)
New Revision: 17242
Modified:
trunk/mgm/modules/linux/00helper
Log:
Correct floating seconds bug
Modified: trunk/mgm/modules/linux/00helper
===================================================================
--- trunk/mgm/modules/linux/00helper 2010-05-22 22:50:43 UTC (rev 17241)
+++ trunk/mgm/modules/linux/00helper 2010-05-23 04:12:46 UTC (rev 17242)
@@ -14,7 +14,7 @@
package MGMmodule::helperST;
use vars qw(%disk26 %vm26 %proc %net %wi $lastmod $stat_active $net_active $active_if $wi_count $wi_active $vm_active $disk26_active);
use IO::Seekable;
-use Time::HiRes qw( gettimeofday );
+use Time::HiRes qw( time );
sub module_init{
my$this=shift;
@@ -132,7 +132,7 @@
}
- $lastmod = [gettimeofday]*100;
+ $lastmod = time *100.;
}
bless {};
More information about the commits
mailing list