X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=isamb%2Fbenchisamb.c;h=a726e6234eea1196f693041347e0d865efb56462;hp=e9aaba7f273b6f6dde9d0e28bbfa4b33527a4d17;hb=cc7fe6c74481b36e6467054a3e72b8e3295105a6;hpb=7253cbefce93c35a083505e14d97b3ae24c0a66b diff --git a/isamb/benchisamb.c b/isamb/benchisamb.c index e9aaba7..a726e62 100644 --- a/isamb/benchisamb.c +++ b/isamb/benchisamb.c @@ -1,8 +1,5 @@ -/* $Id: benchisamb.c,v 1.4 2006-12-11 10:02:14 adam Exp $ - Copyright (C) 1995-2006 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1994-2011 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -20,6 +17,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if HAVE_CONFIG_H +#include +#endif #include #if HAVE_SYS_TIMES_H #include @@ -32,6 +32,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include #include #include +#include #include #include @@ -134,9 +135,9 @@ void bench_insert(ISAMB isb, int number_of_trees, for (round = 0; round < number_of_rounds; round++) { - zebra_timing_t t = zebra_timing_create(); + yaz_timing_t t = yaz_timing_create(); - zebra_timing_start(t); + yaz_timing_start(t); for (i = 0; i