From 1cb0b9235500d01b1e3119f8e1249edf8dcef2f4 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 25 Jan 2011 20:02:43 +0000 Subject: [PATCH] stuff --- src/fs/fs_test_lib_data.conf | 7 ++++--- src/fs/perf_gnunet_service_fs_p2p_trust.c | 10 +++++----- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/fs/fs_test_lib_data.conf b/src/fs/fs_test_lib_data.conf index a5f3530d4..df8c7fd2d 100644 --- a/src/fs/fs_test_lib_data.conf +++ b/src/fs/fs_test_lib_data.conf @@ -43,7 +43,7 @@ HOSTNAME = localhost #TOTAL_QUOTA_OUT = 9321 TOTAL_QUOTA_IN = 3932160 TOTAL_QUOTA_OUT = 3932160 -#DEBUG = YES +DEBUG = YES #PREFIX = valgrind --tool=memcheck --leak-check=yes #BINARY = /home/grothoff/bin/gnunet-service-core @@ -51,8 +51,9 @@ TOTAL_QUOTA_OUT = 3932160 PORT = 43471 HOSTNAME = localhost #OPTIONS = -L DEBUG -ACTIVEMIGRATION = NO -#DEBUG = YES +CONTENT_CACHING = NO +CONTENT_PUSHING = NO +DEBUG = YES #PREFIX = valgrind --tool=memcheck --leak-check=yes #BINARY = /home/grothoff/gn9/bin/gnunet-service-fs #PREFIX = xterm -e gdb -x cmd --args diff --git a/src/fs/perf_gnunet_service_fs_p2p_trust.c b/src/fs/perf_gnunet_service_fs_p2p_trust.c index d4e98dbf2..1ccc22d76 100644 --- a/src/fs/perf_gnunet_service_fs_p2p_trust.c +++ b/src/fs/perf_gnunet_service_fs_p2p_trust.c @@ -1,6 +1,6 @@ /* This file is part of GNUnet. - (C) 2010 Christian Grothoff (and other contributing authors) + (C) 2010,2011 Christian Grothoff (and other contributing authors) GNUnet is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published @@ -51,12 +51,12 @@ #include "fs_test_lib.h" #include "gnunet_testing_lib.h" -#define VERBOSE GNUNET_NO +#define VERBOSE GNUNET_YES /** * File-size we use for testing. */ -#define FILESIZE (1024 * 1024 * 100) +#define FILESIZE (1024 * 1024 * 10) /** * How long until we give up on transmitting the message? @@ -251,7 +251,7 @@ do_report (void *cls, if (del.rel_value == 0) del.rel_value = 1; fancy = GNUNET_STRINGS_byte_size_fancy (((unsigned long long)FILESIZE) * 1000LL / del.rel_value); - fprintf (stdout, + fprintf (stderr, "Download speed of type `%s' was %s/s\n", type, fancy); @@ -472,4 +472,4 @@ main (int argc, char *argv[]) return ok; } -/* end of perf_gnunet_service_fs_p2p_index.c */ +/* end of perf_gnunet_service_fs_p2p_trust.c */ -- 2.25.1