IDZEBRA  2.1.2
Data Structures | Functions
benchisamb.c File Reference
#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)
 

Function Documentation

void bench_insert ( ISAMB  isb,
int  number_of_trees,
int  number_of_rounds,
int  number_of_elements,
int  extra_size 
)
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 
)
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 void log_item ( int  level,
const void *  b,
const char *  txt 
)
static

Definition at line 39 of file benchisamb.c.

Referenced by main().

static void log_pr ( const char *  txt)
static

Definition at line 46 of file benchisamb.c.

Referenced by bench_insert().

int main ( int  argc,
char **  argv 
)