projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01cd6ff
)
print actual estimate
author
Nathan S. Evans
<evans@in.tum.de>
Mon, 25 Jul 2011 12:45:11 +0000
(12:45 +0000)
committer
Nathan S. Evans
<evans@in.tum.de>
Mon, 25 Jul 2011 12:45:11 +0000
(12:45 +0000)
src/nse/nse-profiler.c
patch
|
blob
|
history
diff --git
a/src/nse/nse-profiler.c
b/src/nse/nse-profiler.c
index 9760ba487e061c05d6e52ceb08269442510ff6a6..8006658b2ca9c12a5e4081e0135d9b1a06bf0d03 100644
(file)
--- 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))