[pve-devel] r5641 - pve-manager/pve2/bin

svn-commits at proxmox.com svn-commits at proxmox.com
Thu Mar 3 09:41:26 CET 2011


Author: dietmar
Date: 2011-03-03 09:41:26 +0100 (Thu, 03 Mar 2011)
New Revision: 5641

Modified:
   pve-manager/pve2/bin/pvestatd
Log:
use ms resolution


Modified: pve-manager/pve2/bin/pvestatd
===================================================================
--- pve-manager/pve2/bin/pvestatd	2011-03-03 08:15:26 UTC (rev 5640)
+++ pve-manager/pve2/bin/pvestatd	2011-03-03 08:41:26 UTC (rev 5641)
@@ -270,7 +270,7 @@
 	    my ($ccsec_end, $cusec_end) = gettimeofday ();
 	    my $cptime = ($ccsec_end-$ccsec) + ($cusec_end - $cusec)/1000000;
 
-	    syslog('info', sprintf("status update finished (%.2f seconds)", $cptime));
+	    syslog('info', sprintf("status update finished (%.3f seconds)", $cptime));
 	}
 
 	$cycle++;




More information about the pve-devel mailing list