From: Nathan S. Evans Date: Mon, 25 Jul 2011 12:45:11 +0000 (+0000) Subject: print actual estimate X-Git-Tag: initial-import-from-subversion-38251~17671 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=046cb95b0eaaf3af4e231e7c3a81de1c56a0f95d;p=oweals%2Fgnunet.git print actual estimate --- diff --git a/src/nse/nse-profiler.c b/src/nse/nse-profiler.c index 9760ba487..8006658b2 100644 --- a/src/nse/nse-profiler.c +++ b/src/nse/nse-profiler.c @@ -212,9 +212,10 @@ handle_estimate (void *cls, double estimate, double std_dev) if (output_file != NULL) { size = GNUNET_asprintf(&output_buffer, - "%s %u %f %f\n", + "%s %d %f %f %f\n", GNUNET_i2s(&peer->daemon->id), - peers_running, + peers_running, + pow(2, estimate), estimate, std_dev); if (size != GNUNET_DISK_file_write(output_file, output_buffer, size))