diff options
Diffstat (limited to 'src/ats/perf_ats_mlp.c')
-rw-r--r-- | src/ats/perf_ats_mlp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ats/perf_ats_mlp.c b/src/ats/perf_ats_mlp.c index bace9809f..b9ee5e4dc 100644 --- a/src/ats/perf_ats_mlp.c +++ b/src/ats/perf_ats_mlp.c | |||
@@ -178,7 +178,7 @@ update_addresses (struct ATS_Address * a, unsigned int addrs, unsigned int perce | |||
178 | 178 | ||
179 | static void | 179 | static void |
180 | check (void *cls, char *const *args, const char *cfgfile, | 180 | check (void *cls, char *const *args, const char *cfgfile, |
181 | const struct GNUNET_CONFIGURATION_Handle *cfg) | 181 | const struct GNUNET_CONFIGURATION_Handle *cfg) |
182 | { | 182 | { |
183 | unsigned int c = 0; | 183 | unsigned int c = 0; |
184 | unsigned int c2 = 0; | 184 | unsigned int c2 = 0; |
@@ -289,7 +289,7 @@ check (void *cls, char *const *args, const char *cfgfile, | |||
289 | GNUNET_assert (GNUNET_OK == ctx.lp_result); | 289 | GNUNET_assert (GNUNET_OK == ctx.lp_result); |
290 | GNUNET_assert (GNUNET_OK == ctx.mlp_result); | 290 | GNUNET_assert (GNUNET_OK == ctx.mlp_result); |
291 | if (GNUNET_YES == numeric) | 291 | if (GNUNET_YES == numeric) |
292 | printf ("%u;%u;%llu;%llu\n",mlp->c_p, mlp->addr_in_problem, (long long unsigned int) ctx.lp_duration.rel_value, (long long unsigned int) ctx.mlp_duration.rel_value); | 292 | printf ("%u;%u;%llu;%llu\n",mlp->c_p, mlp->addr_in_problem, (unsigned long long) ctx.lp_duration.rel_value, (unsigned long long) ctx.mlp_duration.rel_value); |
293 | else | 293 | else |
294 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Problem solved for %u peers with %u address successfully (LP: %llu ms / MLP: %llu ms)\n", | 294 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Problem solved for %u peers with %u address successfully (LP: %llu ms / MLP: %llu ms)\n", |
295 | mlp->c_p, mlp->addr_in_problem, ctx.lp_duration.rel_value, ctx.mlp_duration.rel_value); | 295 | mlp->c_p, mlp->addr_in_problem, ctx.lp_duration.rel_value, ctx.mlp_duration.rel_value); |
@@ -312,13 +312,13 @@ check (void *cls, char *const *args, const char *cfgfile, | |||
312 | GNUNET_assert (GNUNET_OK == uctx.mlp_result); | 312 | GNUNET_assert (GNUNET_OK == uctx.mlp_result); |
313 | if (GNUNET_YES == numeric) | 313 | if (GNUNET_YES == numeric) |
314 | printf ("%u;%u;%llu;%llu;%llu;%llu\n",mlp->c_p, mlp->addr_in_problem, | 314 | printf ("%u;%u;%llu;%llu;%llu;%llu\n",mlp->c_p, mlp->addr_in_problem, |
315 | (long long unsigned int) ctx.lp_duration.rel_value, (long long unsigned int) ctx.mlp_duration.rel_value, | 315 | (unsigned long long) ctx.lp_duration.rel_value, (unsigned long long) ctx.mlp_duration.rel_value, |
316 | (long long unsigned int) uctx.lp_duration.rel_value, (long long unsigned int) uctx.mlp_duration.rel_value); | 316 | (unsigned long long) uctx.lp_duration.rel_value, (unsigned long long) uctx.mlp_duration.rel_value); |
317 | else | 317 | else |
318 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Updated problem solved for %u peers with %u address successfully (Initial: LP/MLP: %llu/%llu ms, Update: %llu/%llu ms)\n", | 318 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Updated problem solved for %u peers with %u address successfully (Initial: LP/MLP: %llu/%llu ms, Update: %llu/%llu ms)\n", |
319 | mlp->c_p, mlp->addr_in_problem, | 319 | mlp->c_p, mlp->addr_in_problem, |
320 | (long long unsigned int) ctx.lp_duration.rel_value, (long long unsigned int) ctx.mlp_duration.rel_value, | 320 | (unsigned long long) ctx.lp_duration.rel_value, (unsigned long long) ctx.mlp_duration.rel_value, |
321 | (long long unsigned int) uctx.lp_duration.rel_value, (long long unsigned int) uctx.mlp_duration.rel_value); | 321 | (unsigned long long) uctx.lp_duration.rel_value, (unsigned long long) uctx.mlp_duration.rel_value); |
322 | } | 322 | } |
323 | else | 323 | else |
324 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Solving updated problem with %u peers and %u addresses failed\n", c, c2); | 324 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Solving updated problem with %u peers and %u addresses failed\n", c, c2); |