[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r14996 - gnunet/src/datastore
From: |
gnunet |
Subject: |
[GNUnet-SVN] r14996 - gnunet/src/datastore |
Date: |
Fri, 15 Apr 2011 15:35:14 +0200 |
Author: grothoff
Date: 2011-04-15 15:35:14 +0200 (Fri, 15 Apr 2011)
New Revision: 14996
Modified:
gnunet/src/datastore/perf_datastore_api.c
gnunet/src/datastore/perf_plugin_datastore.c
Log:
maybe
Modified: gnunet/src/datastore/perf_datastore_api.c
===================================================================
--- gnunet/src/datastore/perf_datastore_api.c 2011-04-15 13:27:55 UTC (rev
14995)
+++ gnunet/src/datastore/perf_datastore_api.c 2011-04-15 13:35:14 UTC (rev
14996)
@@ -127,7 +127,7 @@
stored_ops++;
stored_entries++;
crc->j++;
- if (crc->j == PUT_10)
+ if (crc->j >= PUT_10)
{
crc->j = 0;
crc->i++;
Modified: gnunet/src/datastore/perf_plugin_datastore.c
===================================================================
--- gnunet/src/datastore/perf_plugin_datastore.c 2011-04-15 13:27:55 UTC
(rev 14995)
+++ gnunet/src/datastore/perf_plugin_datastore.c 2011-04-15 13:35:14 UTC
(rev 14996)
@@ -246,7 +246,7 @@
memcpy (&i, &cdata[4], sizeof (i));
hits[i/8] |= (1 << (i % 8));
crc->cnt++;
- if (PUT_10 == crc->cnt)
+ if (PUT_10 <= crc->cnt)
{
char buf[256];
unsigned int bc;
@@ -301,7 +301,7 @@
memcpy (&i, &cdata[4], sizeof (i));
hits[i/8] |= (1 << (i % 8));
crc->cnt++;
- if (PUT_10 == crc->cnt)
+ if (PUT_10 <= crc->cnt)
{
char buf[256];
unsigned int bc;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r14996 - gnunet/src/datastore,
gnunet <=