From dafa351c99dd357dd8756ae92aee9938e242c3e7 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 5 Sep 2017 15:00:07 +0200 Subject: [PATCH] added example for node hook --- etc/example.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/etc/example.conf b/etc/example.conf index 727d78158..0b0f646cd 100644 --- a/etc/example.conf +++ b/etc/example.conf @@ -40,6 +40,17 @@ nodes = { type = "socket", # For a list of available node-types run: 'villas-node -h' vectorize = 30, # Receive and sent 30 samples per message (combining). samplelen = 10 # The maximum number of samples this node can receive + + hooks = ( + { + type = "stats", + + warmup = 100, # The first 100 samples are used to estimate bounds for the histograms + format = "human", # One of: human, json, matlab + bucket = 30, # The number of buckets for the histograms + verbose = true # Plot histograms during shutdown + } + ), ### The following settings are specific to the socket node-type!! ###