From 46e881630f39253aa13ce09986a25da9d84f10cd Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 10:04:32 +0000 Subject: Utilisateur : Fcolin Date : 22/12/05 Heure : 17:48 Archivé dans $/CSharp/Ivy/IvyPerf Commentaire: (vss 2) --- CSharp/Ivy/IvyPerf/IvyPerf.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CSharp/Ivy/IvyPerf/IvyPerf.cs b/CSharp/Ivy/IvyPerf/IvyPerf.cs index 2a23d22..82fd010 100644 --- a/CSharp/Ivy/IvyPerf/IvyPerf.cs +++ b/CSharp/Ivy/IvyPerf/IvyPerf.cs @@ -21,15 +21,15 @@ namespace IvyPerf //time = Environment.TickCount; return time; } - static void Reply(IvyClient client, IvyArgument args) + static void Reply(IvyClient client, string[] args) { bus.sendMsg(c,"pong ts={0} tr={1}", args, currentTime()); } - static void Pong(IvyClient client, IvyArgument args) + static void Pong(IvyClient client, string[] args) { double current = currentTime(); - double ts = double.Parse( args[0].Value, c ); - double tr = double.Parse(args[1].Value, c); + double ts = double.Parse( args[0], c ); + double tr = double.Parse(args[1], c); double roundtrip1 = tr-ts; double roundtrip2 = current - ts; Console.WriteLine( "round trip {0} {1}", roundtrip1 , roundtrip2 ); -- cgit v1.1