diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-06 20:55:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-06 20:55:28 +0000 |
commit | 61c39c60565b386e0e12ea669556b030e8cd7180 (patch) | |
tree | 59109aeab8297bdc996faca8c4e38ec7426c36cf /src/util/test_speedup.c | |
parent | 780eb09dd8040ecf8649d40ddf8314464e0fc48e (diff) | |
download | gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.tar.gz gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.zip |
-remove trailing whitespace
Diffstat (limited to 'src/util/test_speedup.c')
-rw-r--r-- | src/util/test_speedup.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/util/test_speedup.c b/src/util/test_speedup.c index a2e6bb29c..2b540af4b 100644 --- a/src/util/test_speedup.c +++ b/src/util/test_speedup.c | |||
@@ -58,14 +58,14 @@ run (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
58 | } | 58 | } |
59 | end = GNUNET_TIME_absolute_get(); | 59 | end = GNUNET_TIME_absolute_get(); |
60 | fprintf (stderr, "\n"); | 60 | fprintf (stderr, "\n"); |
61 | fflush(stdout); | 61 | fflush(stdout); |
62 | } | 62 | } |
63 | 63 | ||
64 | 64 | ||
65 | /** | 65 | /** |
66 | * | 66 | * |
67 | */ | 67 | */ |
68 | static void | 68 | static void |
69 | check (void *cls, char *const *args, | 69 | check (void *cls, char *const *args, |
70 | const char *cfgfile, | 70 | const char *cfgfile, |
71 | const struct GNUNET_CONFIGURATION_Handle * | 71 | const struct GNUNET_CONFIGURATION_Handle * |
@@ -90,7 +90,7 @@ main (int argc, char *argv[]) | |||
90 | time_t start_real; | 90 | time_t start_real; |
91 | time_t end_real; | 91 | time_t end_real; |
92 | struct GNUNET_TIME_Relative delta; | 92 | struct GNUNET_TIME_Relative delta; |
93 | 93 | ||
94 | start_real = time (NULL); | 94 | start_real = time (NULL); |
95 | start = GNUNET_TIME_absolute_get(); | 95 | start = GNUNET_TIME_absolute_get(); |
96 | GNUNET_PROGRAM_run ((sizeof (argvn) / sizeof (char *)) - 1, argvn, "test-speedup", | 96 | GNUNET_PROGRAM_run ((sizeof (argvn) / sizeof (char *)) - 1, argvn, "test-speedup", |
@@ -101,19 +101,19 @@ main (int argc, char *argv[]) | |||
101 | 101 | ||
102 | if (delta.rel_value_us > ((end_real - start_real) * 1500LL * 1000LL)) | 102 | if (delta.rel_value_us > ((end_real - start_real) * 1500LL * 1000LL)) |
103 | { | 103 | { |
104 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 104 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
105 | "Execution time in GNUnet time: %s\n", | 105 | "Execution time in GNUnet time: %s\n", |
106 | GNUNET_STRINGS_relative_time_to_string (delta, GNUNET_YES)); | 106 | GNUNET_STRINGS_relative_time_to_string (delta, GNUNET_YES)); |
107 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 107 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
108 | "Execution time in system time: %llu ms\n", | 108 | "Execution time in system time: %llu ms\n", |
109 | (unsigned long long) ((end_real - start_real) * 1000LL)); | 109 | (unsigned long long) ((end_real - start_real) * 1000LL)); |
110 | return 0; | 110 | return 0; |
111 | } | 111 | } |
112 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 112 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
113 | "Execution time in GNUnet time: %s\n", | 113 | "Execution time in GNUnet time: %s\n", |
114 | GNUNET_STRINGS_relative_time_to_string (delta, GNUNET_YES)); | 114 | GNUNET_STRINGS_relative_time_to_string (delta, GNUNET_YES)); |
115 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 115 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
116 | "Execution time in system time: %llu ms\n", | 116 | "Execution time in system time: %llu ms\n", |
117 | (unsigned long long) ((end_real - start_real) * 1000LL)); | 117 | (unsigned long long) ((end_real - start_real) * 1000LL)); |
118 | return 1; | 118 | return 1; |
119 | } | 119 | } |