gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r8755 - gnunet/src/datastore


From: gnunet
Subject: [GNUnet-SVN] r8755 - gnunet/src/datastore
Date: Sun, 19 Jul 2009 06:49:44 -0600

Author: grothoff
Date: 2009-07-19 06:49:44 -0600 (Sun, 19 Jul 2009)
New Revision: 8755

Modified:
   gnunet/src/datastore/perf_datastore_api.c
Log:
termiante

Modified: gnunet/src/datastore/perf_datastore_api.c
===================================================================
--- gnunet/src/datastore/perf_datastore_api.c   2009-07-19 12:41:51 UTC (rev 
8754)
+++ gnunet/src/datastore/perf_datastore_api.c   2009-07-19 12:49:44 UTC (rev 
8755)
@@ -50,7 +50,7 @@
 /**
  * Target datastore size (in bytes).
  */
-#define MAX_SIZE 1024LL * 1024 * 16
+#define MAX_SIZE 1024LL * 1024 * 4
 
 /**
  * Report progress outside of major reports? Should probably be GNUNET_YES if
@@ -68,7 +68,7 @@
  * PUT_10 put operations); we report full status every
  * 10 iterations.  Abort with CTRL-C.
  */
-#define ITERATIONS 10
+#define ITERATIONS 8
 
 
 static unsigned long long stored_bytes;
@@ -298,7 +298,7 @@
                stored_ops / 1024,        /* total operations (in k) */
                1000 * stored_ops / (1 + 
GNUNET_TIME_absolute_get_duration(start_time).value));
       crc->phase = RP_PUT;
-      crc->i = 0;
+      crc->j = 0;
       GNUNET_SCHEDULER_add_continuation (crc->sched,
                                         GNUNET_NO,
                                         &run_continuation,
@@ -385,7 +385,9 @@
 #endif
                     NULL);
   ret = check ();
-
+#if REPORT_ID
+  fprintf (stderr, "\n");
+#endif
   return ret;
 }
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]