[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r14471 - gnunet/src/datastore
From: |
gnunet |
Subject: |
[GNUnet-SVN] r14471 - gnunet/src/datastore |
Date: |
Sat, 19 Feb 2011 00:06:09 +0100 |
Author: grothoff
Date: 2011-02-19 00:06:09 +0100 (Sat, 19 Feb 2011)
New Revision: 14471
Modified:
gnunet/src/datastore/perf_datastore_api.c
Log:
fix
Modified: gnunet/src/datastore/perf_datastore_api.c
===================================================================
--- gnunet/src/datastore/perf_datastore_api.c 2011-02-18 23:05:53 UTC (rev
14470)
+++ gnunet/src/datastore/perf_datastore_api.c 2011-02-18 23:06:09 UTC (rev
14471)
@@ -36,6 +36,7 @@
#include "gnunet_util_lib.h"
#include "gnunet_protocols.h"
#include "gnunet_datastore_service.h"
+#include <gauger.h>
#define VERBOSE GNUNET_NO
@@ -294,7 +295,6 @@
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 @@
"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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r14471 - gnunet/src/datastore,
gnunet <=