mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
added example for node hook
This commit is contained in:
parent
045860ef84
commit
dafa351c99
1 changed files with 11 additions and 0 deletions
|
@ -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!! ###
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue