Skip to main content

Calculate Jitter

The jitter_calc hook calculates the jitter based on inter-sampling time as used in Wireshark according to RFC3550. The original purpose was to calculate the jitter between the timestamp of a GTNET GPS timestamp and the VILLASNode NTP timestamp.

Implementation​

The source code of the hook is available here: https://github.com/VILLASframework/node/blob/master/lib/hooks/jitter_calc.cpp

Configuration​

enabled
boolean
Default: true

An optional field which can be used to disable a hook.

priority
integer
Default: 99

The priority of this hook which determines the order in which hooks are executed. Hooks with a lwoer priority are executed before ones with a higher priority.

If no priority is configured, hooks are executed in the order they are configured in the configuration file.

{
  • "enabled": true,
  • "priority": 99
}

Example​

node/etc/examples/hooks/jitter_calc.conf
@include "hook-nodes.conf"

paths = (
{
in = "signal_node"
out = "file_node"

hooks = (
{
type = "jitter_calc"
}
)
}
)