diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-04-04 16:33:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-04-04 16:33:35 +0000 |
commit | 70ec14559f335b5d433fb39ebefcbefdb659194a (patch) | |
tree | f37ac3df0333ebe310cccbeaa9ab1d82ebed2329 /src/datastore/perf_plugin_datastore.c | |
parent | ba37451c0580423a829e30bf8567d23a4b8bef09 (diff) | |
download | gnunet-70ec14559f335b5d433fb39ebefcbefdb659194a.tar.gz gnunet-70ec14559f335b5d433fb39ebefcbefdb659194a.zip |
removing dead API calls
Diffstat (limited to 'src/datastore/perf_plugin_datastore.c')
-rw-r--r-- | src/datastore/perf_plugin_datastore.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/datastore/perf_plugin_datastore.c b/src/datastore/perf_plugin_datastore.c index 676fa8d9d..c21d9551b 100644 --- a/src/datastore/perf_plugin_datastore.c +++ b/src/datastore/perf_plugin_datastore.c | |||
@@ -61,8 +61,7 @@ enum RunPhase | |||
61 | RP_PUT, | 61 | RP_PUT, |
62 | RP_LP_GET, | 62 | RP_LP_GET, |
63 | RP_AE_GET, | 63 | RP_AE_GET, |
64 | RP_ZA_GET, | 64 | RP_ZA_GET |
65 | RP_AN_GET | ||
66 | }; | 65 | }; |
67 | 66 | ||
68 | 67 | ||
@@ -171,7 +170,7 @@ iterateDummy (void *cls, | |||
171 | crc->i, | 170 | crc->i, |
172 | (unsigned long long) (crc->end.abs_value - crc->start.abs_value), | 171 | (unsigned long long) (crc->end.abs_value - crc->start.abs_value), |
173 | crc->cnt); | 172 | crc->cnt); |
174 | if (crc->phase != RP_AN_GET) | 173 | if (crc->phase != RP_ZA_GET) |
175 | { | 174 | { |
176 | crc->phase++; | 175 | crc->phase++; |
177 | } | 176 | } |
@@ -324,12 +323,6 @@ test (void *cls, | |||
324 | &iterateDummy, | 323 | &iterateDummy, |
325 | crc); | 324 | crc); |
326 | break; | 325 | break; |
327 | case RP_AN_GET: | ||
328 | crc->msg = "%3u all now iteration took %20llums for %u\n"; | ||
329 | crc->api->iter_all_now (crc->api->cls, 0, | ||
330 | &iterateDummy, | ||
331 | crc); | ||
332 | break; | ||
333 | case RP_DONE: | 326 | case RP_DONE: |
334 | crc->api->drop (crc->api->cls); | 327 | crc->api->drop (crc->api->cls); |
335 | GNUNET_SCHEDULER_add_with_priority (GNUNET_SCHEDULER_PRIORITY_IDLE, | 328 | GNUNET_SCHEDULER_add_with_priority (GNUNET_SCHEDULER_PRIORITY_IDLE, |