From 444095d3740e5d6c8f21d4c9121bd8d7a100e35d Mon Sep 17 00:00:00 2001 From: bustico Date: Mon, 6 Jul 2009 12:15:37 +0000 Subject: put tcp socket in no_delay mode to reduce latency --- example/ivystat.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'example/ivystat.pl') diff --git a/example/ivystat.pl b/example/ivystat.pl index 933ad7c..0d4e2e4 100755 --- a/example/ivystat.pl +++ b/example/ivystat.pl @@ -234,7 +234,8 @@ sub writeLogs () # total : nb octets envoyés, nb mess envoyés, nb octets reçus, nb mess reçus # pour chaque agents en receptions : # nb octets envoyés, nb mess envoyés, - my (@sortedApp, $appf, $appn, $appt, $regx, $numRegx); + my (@sortedApp, $appf, $appn, $appt, $regx); + my $numRegx = 0; my %regxByNumOccur; # il faut que le filehandle LOG soit valide @@ -336,7 +337,7 @@ sub receivePongCb($$) $max = $time if $time > $max; $total += $time; $received ++; -# printf ("DBG> :$received: $appf [$min, $time, $max]\n"); + printf ("DBG> :$received: $appf [$min, $time, $max]\n"); @{$pingResponse{$appf}} = ($min, $max, $total, $received, $sent); } -- cgit v1.1