tool for profiling the invertible bloom filter implementation More...
Go to the source code of this file.
Functions | |
static void | register_hashcode (struct GNUNET_HashCode *hash) |
static void | iter_hashcodes (struct IBF_Key key, GNUNET_CONTAINER_MultiHashMapIteratorCallback iter, void *cls) |
static int | insert_iterator (void *cls, const struct GNUNET_HashCode *key, void *value) |
static int | remove_iterator (void *cls, const struct GNUNET_HashCode *key, void *value) |
static void | run (void *cls, char *const *args, const char *cfgfile, const struct GNUNET_CONFIGURATION_Handle *cfg) |
int | main (int argc, char **argv) |
Variables | |
static unsigned int | asize = 10 |
static unsigned int | bsize = 10 |
static unsigned int | csize = 10 |
static unsigned int | hash_num = 4 |
static unsigned int | ibf_size = 80 |
static enum GNUNET_CRYPTO_Quality | random_quality = GNUNET_CRYPTO_QUALITY_WEAK |
static struct GNUNET_CONTAINER_MultiHashMap * | set_a |
static struct GNUNET_CONTAINER_MultiHashMap * | set_b |
static struct GNUNET_CONTAINER_MultiHashMap * | set_c |
static struct GNUNET_CONTAINER_MultiHashMap * | key_to_hashcode |
static struct InvertibleBloomFilter * | ibf_a |
static struct InvertibleBloomFilter * | ibf_b |
tool for profiling the invertible bloom filter implementation
Definition in file gnunet-set-ibf-profiler.c.
|
static |
Definition at line 53 of file gnunet-set-ibf-profiler.c.
References GNUNET_CONTAINER_multihashmap_put(), GNUNET_CONTAINER_MULTIHASHMAPOPTION_MULTIPLE, GNUNET_memdup, ibf_hashcode_from_key(), ibf_key_from_hashcode(), key, and key_to_hashcode.
Referenced by run().
|
static |
Definition at line 69 of file gnunet-set-ibf-profiler.c.
References GNUNET_CONTAINER_multihashmap_get_multiple(), ibf_hashcode_from_key(), key, and key_to_hashcode.
Referenced by run().
|
static |
Definition at line 84 of file gnunet-set-ibf-profiler.c.
References GNUNET_YES, ibf_insert(), ibf_key_from_hashcode(), and key.
Referenced by run().
|
static |
Definition at line 94 of file gnunet-set-ibf-profiler.c.
References GNUNET_CONTAINER_multihashmap_remove(), GNUNET_YES, and value.
Referenced by run().
|
static |
Definition at line 105 of file gnunet-set-ibf-profiler.c.
References asize, bsize, csize, GNUNET_break, GNUNET_CONTAINER_multihashmap_contains(), GNUNET_CONTAINER_multihashmap_create(), GNUNET_CONTAINER_multihashmap_iterate(), GNUNET_CONTAINER_multihashmap_put(), GNUNET_CONTAINER_multihashmap_size(), GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY, GNUNET_CRYPTO_hash_create_random(), GNUNET_NO, GNUNET_OK, GNUNET_SCHEDULER_shutdown(), GNUNET_STRINGS_relative_time_to_string(), GNUNET_SYSERR, GNUNET_TIME_absolute_get(), GNUNET_TIME_absolute_get_duration(), GNUNET_YES, hash_num, ibf_a, ibf_b, ibf_create(), ibf_decode(), ibf_size, ibf_subtract(), id, insert_iterator(), iter_hashcodes(), key_to_hashcode, random_quality, register_hashcode(), remove_iterator(), res, set_a, set_b, set_c, and start_time.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 262 of file gnunet-set-ibf-profiler.c.
References asize, bsize, csize, gettext_noop, GNUNET_GETOPT_OPTION_END, GNUNET_GETOPT_option_uint(), GNUNET_OS_project_data_gnunet(), GNUNET_PROGRAM_run2(), GNUNET_YES, hash_num, ibf_size, options, and run().
|
static |
Definition at line 32 of file gnunet-set-ibf-profiler.c.
|
static |
Definition at line 33 of file gnunet-set-ibf-profiler.c.
Referenced by check_fragment_box(), extract_box_cb(), GNUNET_CRYPTO_kdf_mod_mpi(), handle_lookup_block_it(), main(), namecache_postgres_lookup_block(), and run().
|
static |
Definition at line 34 of file gnunet-set-ibf-profiler.c.
|
static |
Definition at line 35 of file gnunet-set-ibf-profiler.c.
Referenced by ibf_create(), main(), and run().
|
static |
Definition at line 36 of file gnunet-set-ibf-profiler.c.
Referenced by main(), run(), send_ibf(), and strata_estimator_create().
|
static |
Definition at line 39 of file gnunet-set-ibf-profiler.c.
Referenced by run().
|
static |
Definition at line 41 of file gnunet-set-ibf-profiler.c.
Referenced by run().
|
static |
Definition at line 42 of file gnunet-set-ibf-profiler.c.
Referenced by run().
|
static |
Definition at line 44 of file gnunet-set-ibf-profiler.c.
Referenced by run().
|
static |
Definition at line 46 of file gnunet-set-ibf-profiler.c.
Referenced by iter_hashcodes(), register_hashcode(), and run().
|
static |
Definition at line 48 of file gnunet-set-ibf-profiler.c.
Referenced by run().
|
static |
Definition at line 49 of file gnunet-set-ibf-profiler.c.
Referenced by run().