aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/perf_datastore_api.c
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2011-02-23 11:19:54 +0000
committerNathan S. Evans <evans@in.tum.de>2011-02-23 11:19:54 +0000
commitb1494db2e01d0a86b9e2a58353d4a5ef793584cf (patch)
treea27cefddeb3184e9614af3c58aab81b57d1eda53 /src/datastore/perf_datastore_api.c
parente94568c6b82c1c89dfe46c75ff174a5254ba24ee (diff)
downloadgnunet-b1494db2e01d0a86b9e2a58353d4a5ef793584cf.tar.gz
gnunet-b1494db2e01d0a86b9e2a58353d4a5ef793584cf.zip
fixes to gauger calls
Diffstat (limited to 'src/datastore/perf_datastore_api.c')
-rw-r--r--src/datastore/perf_datastore_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datastore/perf_datastore_api.c b/src/datastore/perf_datastore_api.c
index 3d59a88d1..ad7dc86ef 100644
--- a/src/datastore/perf_datastore_api.c
+++ b/src/datastore/perf_datastore_api.c
@@ -301,10 +301,10 @@ run_continuation (void *cls,
301 break; 301 break;
302 case RP_DONE: 302 case RP_DONE:
303 GNUNET_snprintf (gstr, sizeof (gstr), 303 GNUNET_snprintf (gstr, sizeof (gstr),
304 "PUT operations in %s-datastore_op/s", 304 "PUT operations in %s-datastore",
305 plugin_name); 305 plugin_name);
306 if (crc->i == ITERATIONS) 306 if (crc->i == ITERATIONS)
307 GAUGER (gstr, 1000 * stored_ops / (1 + GNUNET_TIME_absolute_get_duration(start_time).rel_value)); 307 GAUGER (gstr, 1000 * stored_ops / (1 + GNUNET_TIME_absolute_get_duration(start_time).rel_value), "ops");
308 GNUNET_DATASTORE_disconnect (datastore, GNUNET_YES); 308 GNUNET_DATASTORE_disconnect (datastore, GNUNET_YES);
309 GNUNET_free (crc); 309 GNUNET_free (crc);
310 ok = 0; 310 ok = 0;