diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-01-25 20:02:43 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-01-25 20:02:43 +0000 |
commit | 1cb0b9235500d01b1e3119f8e1249edf8dcef2f4 (patch) | |
tree | 2a8a84a481a4d2091a3681d50ff47d1de1c82c7c /src/fs/perf_gnunet_service_fs_p2p_trust.c | |
parent | cc0e2160f76d3d736f5f8b7b71528bfdcc4022df (diff) | |
download | gnunet-1cb0b9235500d01b1e3119f8e1249edf8dcef2f4.tar.gz gnunet-1cb0b9235500d01b1e3119f8e1249edf8dcef2f4.zip |
stuff
Diffstat (limited to 'src/fs/perf_gnunet_service_fs_p2p_trust.c')
-rw-r--r-- | src/fs/perf_gnunet_service_fs_p2p_trust.c | 10 |
1 files changed, 5 insertions, 5 deletions
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 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | (C) 2010 Christian Grothoff (and other contributing authors) | 3 | (C) 2010,2011 Christian Grothoff (and other contributing authors) |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 5 | GNUnet is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published | 6 | it under the terms of the GNU General Public License as published |
@@ -51,12 +51,12 @@ | |||
51 | #include "fs_test_lib.h" | 51 | #include "fs_test_lib.h" |
52 | #include "gnunet_testing_lib.h" | 52 | #include "gnunet_testing_lib.h" |
53 | 53 | ||
54 | #define VERBOSE GNUNET_NO | 54 | #define VERBOSE GNUNET_YES |
55 | 55 | ||
56 | /** | 56 | /** |
57 | * File-size we use for testing. | 57 | * File-size we use for testing. |
58 | */ | 58 | */ |
59 | #define FILESIZE (1024 * 1024 * 100) | 59 | #define FILESIZE (1024 * 1024 * 10) |
60 | 60 | ||
61 | /** | 61 | /** |
62 | * How long until we give up on transmitting the message? | 62 | * How long until we give up on transmitting the message? |
@@ -251,7 +251,7 @@ do_report (void *cls, | |||
251 | if (del.rel_value == 0) | 251 | if (del.rel_value == 0) |
252 | del.rel_value = 1; | 252 | del.rel_value = 1; |
253 | fancy = GNUNET_STRINGS_byte_size_fancy (((unsigned long long)FILESIZE) * 1000LL / del.rel_value); | 253 | fancy = GNUNET_STRINGS_byte_size_fancy (((unsigned long long)FILESIZE) * 1000LL / del.rel_value); |
254 | fprintf (stdout, | 254 | fprintf (stderr, |
255 | "Download speed of type `%s' was %s/s\n", | 255 | "Download speed of type `%s' was %s/s\n", |
256 | type, | 256 | type, |
257 | fancy); | 257 | fancy); |
@@ -472,4 +472,4 @@ main (int argc, char *argv[]) | |||
472 | return ok; | 472 | return ok; |
473 | } | 473 | } |
474 | 474 | ||
475 | /* end of perf_gnunet_service_fs_p2p_index.c */ | 475 | /* end of perf_gnunet_service_fs_p2p_trust.c */ |