-/* $Id: benchmark.c,v 1.9 2005-10-22 13:13:56 adam Exp $
- * Copyright (C) 1995-2005, 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) Index Data
+ * See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdlib.h>
#include <stdio.h>
int ok;
int nok = 0;
char *arg;
-
+
while ((c = options("c:s:p:fbd:rv:", argv, argc, &arg)) != -2) {
switch (c) {
case 0:
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab