aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-07-25 13:14:44 +0000
committerChristian Grothoff <christian@grothoff.org>2011-07-25 13:14:44 +0000
commita2920107b7eb7dd7cf66c75d15759eb3eb7b4747 (patch)
tree3937a41166c33bec3ff75fc7a96e5efbeafc7c10
parentf56d1718ac422e0edea1a782a29cf00158b679ad (diff)
downloadgnunet-a2920107b7eb7dd7cf66c75d15759eb3eb7b4747.tar.gz
gnunet-a2920107b7eb7dd7cf66c75d15759eb3eb7b4747.zip
generate histograms
-rw-r--r--contrib/defaults.conf1
-rw-r--r--src/nse/gnunet-service-nse.c5
2 files changed, 6 insertions, 0 deletions
diff --git a/contrib/defaults.conf b/contrib/defaults.conf
index 2461fb54e..26d5d6237 100644
--- a/contrib/defaults.conf
+++ b/contrib/defaults.conf
@@ -432,6 +432,7 @@ UNIXPATH = /tmp/test-nse-service-nse.unix
432UNIX_MATCH_UID = YES 432UNIX_MATCH_UID = YES
433UNIX_MATCH_GID = YES 433UNIX_MATCH_GID = YES
434PROOFFILE = $SERVICEHOME/.nse-proof 434PROOFFILE = $SERVICEHOME/.nse-proof
435HISTOGRAM = $SERVICEHOME/nse-history.log
435 436
436# How 'slowly' should the proof-of-work be constructed (delay 437# How 'slowly' should the proof-of-work be constructed (delay
437# between rounds in ms); sane values between 0 and ~1000. 438# between rounds in ms); sane values between 0 and ~1000.
diff --git a/src/nse/gnunet-service-nse.c b/src/nse/gnunet-service-nse.c
index ef8784946..15a9c2b54 100644
--- a/src/nse/gnunet-service-nse.c
+++ b/src/nse/gnunet-service-nse.c
@@ -45,6 +45,11 @@
45#include "gnunet_nse_service.h" 45#include "gnunet_nse_service.h"
46#include "nse.h" 46#include "nse.h"
47 47
48/**
49 * Should we generate a histogram with the time stamps of when we received
50 * NSE messages to disk? (for performance evaluation only, not useful in
51 * production)
52 */
48#define ENABLE_HISTOGRAM GNUNET_YES 53#define ENABLE_HISTOGRAM GNUNET_YES
49 54
50/** 55/**