From 7036f99de1a7c041f396fd9e4f4985df5917469e Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 18 Feb 2011 23:06:09 +0000 Subject: [PATCH] fix --- src/datastore/perf_datastore_api.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/datastore/perf_datastore_api.c b/src/datastore/perf_datastore_api.c index 2a2e628a3..3d59a88d1 100644 --- a/src/datastore/perf_datastore_api.c +++ b/src/datastore/perf_datastore_api.c @@ -36,6 +36,7 @@ #include "gnunet_util_lib.h" #include "gnunet_protocols.h" #include "gnunet_datastore_service.h" +#include #define VERBOSE GNUNET_NO @@ -294,7 +295,6 @@ run_continuation (void *cls, 1000 * stored_ops / (1 + GNUNET_TIME_absolute_get_duration(start_time).rel_value)); crc->phase = RP_PUT; crc->j = 0; - start = GNUNET_TIME_absolute_get (); GNUNET_SCHEDULER_add_continuation (&run_continuation, crc, GNUNET_SCHEDULER_REASON_PREREQ_DONE); @@ -304,8 +304,7 @@ run_continuation (void *cls, "PUT operations in %s-datastore_op/s", plugin_name); if (crc->i == ITERATIONS) - GAUGER (1000 * stored_ops / (1 + GNUNET_TIME_absolute_get_duration(start_time).rel_value), - gstr); + GAUGER (gstr, 1000 * stored_ops / (1 + GNUNET_TIME_absolute_get_duration(start_time).rel_value)); GNUNET_DATASTORE_disconnect (datastore, GNUNET_YES); GNUNET_free (crc); ok = 0; -- 2.25.1