X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fbenchmark.c;h=abb1c7d51eb806e0dceb25b115f6a7207bd44902;hb=e5567b53a976dd18a2a8b51deaa0189d53a2f226;hp=0119dc82ae1a9dd781d17377ae505e8ade9eb003;hpb=8d691989077a0addcbd840d769dce6700f3d9622;p=yaz-moved-to-github.git diff --git a/util/benchmark.c b/util/benchmark.c index 0119dc8..abb1c7d 100644 --- a/util/benchmark.c +++ b/util/benchmark.c @@ -1,15 +1,10 @@ -/* $Id: benchmark.c,v 1.10 2007-01-03 08:42:16 adam Exp $ - * Copyright (C) 1995-2007, Index Data ApS - * - * This file is part of the YAZ toolkit. - * - * See the file LICENSE. - * - * This is an elementary benchmarker for server performance. It works - * by repeatedly connecting to, seaching in and retrieving from the - * specified server, and keeps statistics about the minimum, maximum - * and average times for each operation. +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2011 Index Data + * See the file LICENSE for details. */ +#if HAVE_CONFIG_H +#include +#endif #include #include @@ -139,6 +134,7 @@ static void db_printf(int level, char *fmt, ...) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab