|
IDZEBRA 2.2.8
|
#include <yaz/options.h>#include <stdlib.h>#include <string.h>#include <yaz/log.h>#include <yaz/xmalloc.h>#include <yaz/timing.h>#include <idzebra/isamb.h>#include <assert.h>Go to the source code of this file.
Data Structures | |
| struct | read_info |
Functions | |
| static void | log_item (int level, const void *b, const char *txt) |
| static void | log_pr (const char *txt) |
| int | compare_item (const void *a, const void *b) |
| void * | code_start (void) |
| void | code_item (void *p, char **dst, const char **src) |
| void | code_reset (void *p) |
| void | code_stop (void *p) |
| int | code_read (void *vp, char **dst, int *insertMode) |
| void | bench_insert (ISAMB isb, int number_of_trees, int number_of_rounds, int number_of_elements, int extra_size) |
| void | exit_usage (void) |
| int | main (int argc, char **argv) |
| void bench_insert | ( | ISAMB | isb, |
| int | number_of_trees, | ||
| int | number_of_rounds, | ||
| int | number_of_elements, | ||
| int | extra_size | ||
| ) |
Definition at line 119 of file benchisamb.c.
References ISAMC_I_s::clientData, code_read(), read_info::insertMode, isamb_dump(), isamb_merge(), log_pr(), read_info::max, read_info::no, ISAMC_I_s::read_item, read_info::step, read_info::sz, and read_info::val.
Referenced by main().
| void code_item | ( | void * | p, |
| char ** | dst, | ||
| const char ** | src | ||
| ) |
Definition at line 69 of file benchisamb.c.
Referenced by main().
| int code_read | ( | void * | vp, |
| char ** | dst, | ||
| int * | insertMode | ||
| ) |
Definition at line 94 of file benchisamb.c.
References read_info::insertMode, read_info::max, read_info::no, read_info::step, read_info::sz, and read_info::val.
Referenced by bench_insert().
| void code_reset | ( | void * | p | ) |
Definition at line 77 of file benchisamb.c.
Referenced by main().
| void * code_start | ( | void | ) |
Definition at line 64 of file benchisamb.c.
Referenced by main().
| void code_stop | ( | void * | p | ) |
Definition at line 80 of file benchisamb.c.
Referenced by main().
| int compare_item | ( | const void * | a, |
| const void * | b | ||
| ) |
Definition at line 51 of file benchisamb.c.
Referenced by main().
| void exit_usage | ( | void | ) |
Definition at line 173 of file benchisamb.c.
Referenced by main().
|
static |
Definition at line 39 of file benchisamb.c.
Referenced by main().
|
static |
Definition at line 46 of file benchisamb.c.
Referenced by bench_insert().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 179 of file benchisamb.c.
References bench_insert(), bf_reset(), bfs_create(), bfs_destroy(), code_item(), code_reset(), code_start(), code_stop(), ISAMC_M_s::codec, compare_item(), ISAMC_M_s::compare_item, ISAM_CODEC::decode, ISAM_CODEC::encode, exit_usage(), isamb_close(), isamb_open(), log_item(), ISAMC_M_s::log_item, ISAM_CODEC::reset, ISAM_CODEC::start, and ISAM_CODEC::stop.