diff options
Diffstat (limited to 'tools/ivyperf.c')
-rw-r--r-- | tools/ivyperf.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/ivyperf.c b/tools/ivyperf.c index 8683692..a7845f0 100644 --- a/tools/ivyperf.c +++ b/tools/ivyperf.c @@ -74,17 +74,11 @@ void Pong (IvyClientPtr app, void *user_data, int argc, char *argv[]) { double current; double ts; - double tr; - double roundtrip1; - double roundtrip2; double roundtrip3; nbMsgReceive++; current = currentTime() - origin ; ts = atof( *argv++ ); - tr = atof( *argv++ ); - roundtrip1 = tr-ts; - roundtrip2 = current - tr; roundtrip3 = current - ts; if ( roundtrip3 > maxRoundTrip ) maxRoundTrip = roundtrip3; if ( roundtrip3 < minRoundTrip ) minRoundTrip = roundtrip3; |