IDZEBRA  2.2.7
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

◆ bench_insert()

void bench_insert ( ISAMB  isb,
int  number_of_trees,
int  number_of_rounds,
int  number_of_elements,
int  extra_size 
)

◆ code_item()

void code_item ( void *  p,
char **  dst,
const char **  src 
)

Definition at line 69 of file benchisamb.c.

Referenced by main().

◆ code_read()

int code_read ( void *  vp,
char **  dst,
int *  insertMode 
)

◆ code_reset()

void code_reset ( void *  p)

Definition at line 77 of file benchisamb.c.

Referenced by main().

◆ code_start()

void* code_start ( void  )

Definition at line 64 of file benchisamb.c.

Referenced by main().

◆ code_stop()

void code_stop ( void *  p)

Definition at line 80 of file benchisamb.c.

Referenced by main().

◆ compare_item()

int compare_item ( const void *  a,
const void *  b 
)

Definition at line 51 of file benchisamb.c.

Referenced by main().

◆ exit_usage()

void exit_usage ( void  )

Definition at line 173 of file benchisamb.c.

Referenced by main().

◆ log_item()

static void log_item ( int  level,
const void *  b,
const char *  txt 
)
static

Definition at line 39 of file benchisamb.c.

Referenced by main().

◆ log_pr()

static void log_pr ( const char *  txt)
static

Definition at line 46 of file benchisamb.c.

Referenced by bench_insert().

◆ main()

int main ( int  argc,
char **  argv 
)