diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-16 16:03:20 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-16 16:03:20 +0000 |
commit | 16a6919a9f98ee9fa1fee9dd262906c321004a19 (patch) | |
tree | e09d4fe5191dc329b3e1b667f2914f8313bcba59 /src/datacache/perf_datacache.c | |
parent | 4d7904c62bb867c44e90b8e9f7cdbb4b283abc44 (diff) | |
download | gnunet-16a6919a9f98ee9fa1fee9dd262906c321004a19.tar.gz gnunet-16a6919a9f98ee9fa1fee9dd262906c321004a19.zip |
even nicer indentation, thanks to LRN's indent patch
Diffstat (limited to 'src/datacache/perf_datacache.c')
-rw-r--r-- | src/datacache/perf_datacache.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/datacache/perf_datacache.c b/src/datacache/perf_datacache.c index a5dc02362..131ca4b82 100644 --- a/src/datacache/perf_datacache.c +++ b/src/datacache/perf_datacache.c | |||
@@ -91,8 +91,8 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
91 | } | 91 | } |
92 | fprintf (stderr, "\n"); | 92 | fprintf (stderr, "\n"); |
93 | fprintf (stdout, "Stored %u items in %llums\n", ITERATIONS, | 93 | fprintf (stdout, "Stored %u items in %llums\n", ITERATIONS, |
94 | (unsigned long long) GNUNET_TIME_absolute_get_duration (start). | 94 | (unsigned long long) |
95 | rel_value); | 95 | GNUNET_TIME_absolute_get_duration (start).rel_value); |
96 | GNUNET_snprintf (gstr, sizeof (gstr), "DATACACHE-%s", plugin_name); | 96 | GNUNET_snprintf (gstr, sizeof (gstr), "DATACACHE-%s", plugin_name); |
97 | GAUGER (gstr, "Time to PUT item in datacache", | 97 | GAUGER (gstr, "Time to PUT item in datacache", |
98 | GNUNET_TIME_absolute_get_duration (start).rel_value / ITERATIONS, | 98 | GNUNET_TIME_absolute_get_duration (start).rel_value / ITERATIONS, |
@@ -111,8 +111,9 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
111 | fprintf (stdout, | 111 | fprintf (stdout, |
112 | "Found %u/%u items in %llums (%u were deleted during storage processing)\n", | 112 | "Found %u/%u items in %llums (%u were deleted during storage processing)\n", |
113 | found, ITERATIONS, | 113 | found, ITERATIONS, |
114 | (unsigned long long) GNUNET_TIME_absolute_get_duration (start). | 114 | (unsigned long long) |
115 | rel_value, ITERATIONS - found); | 115 | GNUNET_TIME_absolute_get_duration (start).rel_value, |
116 | ITERATIONS - found); | ||
116 | if (found > 0) | 117 | if (found > 0) |
117 | GAUGER (gstr, "Time to GET item from datacache", | 118 | GAUGER (gstr, "Time to GET item from datacache", |
118 | GNUNET_TIME_absolute_get_duration (start).rel_value / found, | 119 | GNUNET_TIME_absolute_get_duration (start).rel_value / found, |