From 046cb95b0eaaf3af4e231e7c3a81de1c56a0f95d Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Mon, 25 Jul 2011 12:45:11 +0000 Subject: print actual estimate --- src/nse/nse-profiler.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') 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)) -- cgit v1.2.3