summaryrefslogtreecommitdiff
path: root/CSharp/Ivy/IvyPerf/IvyPerf.cs
diff options
context:
space:
mode:
Diffstat (limited to 'CSharp/Ivy/IvyPerf/IvyPerf.cs')
-rw-r--r--CSharp/Ivy/IvyPerf/IvyPerf.cs8
1 files 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 );