From: Bart Polot Date: Tue, 13 Dec 2011 16:57:45 +0000 (+0000) Subject: - Added more stats gathering code X-Git-Tag: initial-import-from-subversion-38251~15650 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e97989b0bab8d38c26ea87a440a2e5fca3e8bb80;p=oweals%2Fgnunet.git - Added more stats gathering code --- 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 @@ * production). The associated code should also probably be removed * once we're done with experiments. */ -#define ENABLE_HISTOGRAM GNUNET_NO +#define ENABLE_HISTOGRAM GNUNET_YES /** * Over how many values do we calculate the weighted average? @@ -301,7 +301,7 @@ setup_estimate_message (struct GNUNET_NSE_ClientMessage *em) double val; double nsize; -#define WEST 1 +#define WEST 0 /* Weighted incremental algorithm for stddev according to West (1979) */ #if WEST double sumweight;