aboutsummaryrefslogtreecommitdiff
path: root/src/nse
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-12-13 16:57:45 +0000
committerBart Polot <bart@net.in.tum.de>2011-12-13 16:57:45 +0000
commite97989b0bab8d38c26ea87a440a2e5fca3e8bb80 (patch)
tree24379ad9d3685f3b59b3afdcdeb662bc194e813d /src/nse
parent68a65fb3e7629da9c5e61d6d96aa254633b45ad0 (diff)
downloadgnunet-e97989b0bab8d38c26ea87a440a2e5fca3e8bb80.tar.gz
gnunet-e97989b0bab8d38c26ea87a440a2e5fca3e8bb80.zip
- Added more stats gathering code
Diffstat (limited to 'src/nse')
-rw-r--r--src/nse/gnunet-service-nse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nse/gnunet-service-nse.c b/src/nse/gnunet-service-nse.c
index 5bf320ac4..7c223190e 100644
--- a/src/nse/gnunet-service-nse.c
+++ b/src/nse/gnunet-service-nse.c
@@ -59,7 +59,7 @@
59 * production). The associated code should also probably be removed 59 * production). The associated code should also probably be removed
60 * once we're done with experiments. 60 * once we're done with experiments.
61 */ 61 */
62#define ENABLE_HISTOGRAM GNUNET_NO 62#define ENABLE_HISTOGRAM GNUNET_YES
63 63
64/** 64/**
65 * Over how many values do we calculate the weighted average? 65 * Over how many values do we calculate the weighted average?
@@ -301,7 +301,7 @@ setup_estimate_message (struct GNUNET_NSE_ClientMessage *em)
301 double val; 301 double val;
302 double nsize; 302 double nsize;
303 303
304#define WEST 1 304#define WEST 0
305 /* Weighted incremental algorithm for stddev according to West (1979) */ 305 /* Weighted incremental algorithm for stddev according to West (1979) */
306#if WEST 306#if WEST
307 double sumweight; 307 double sumweight;