Commit c573f56e authored by Davide Ciminaghi's avatar Davide Ciminaghi Committed by Alessandro Rubini

conf: add clock-allen-variance option

This is equivalent to the -v option, which will be removed.
Signed-off-by: Davide Ciminaghi's avatarDavide Ciminaghi <ciminaghi@gnudd.com>
parent 2d22d6e5
......@@ -106,6 +106,13 @@ static int f_accuracy(int lineno, struct pp_globals *ppg, union pp_cfg_arg *arg)
return 0;
}
static int f_variance(int lineno, struct pp_globals *ppg, union pp_cfg_arg *arg)
{
CHECK_PPI(0);
GOPTS(ppg)->clock_quality.offsetScaledLogVariance = arg->i;
return 0;
}
/* Diagnostics can be per-port or global */
static int f_diag(int lineno, struct pp_globals *ppg, union pp_cfg_arg *arg)
{
......@@ -271,6 +278,7 @@ static struct pp_argline pp_global_arglines[] = {
{ f_diag, "diagnostics", ARG_STR},
{ f_class, "clock-class", ARG_INT},
{ f_accuracy, "clock-accuracy", ARG_INT},
{ f_variance, "clock-allen-variance", ARG_INT},
{ f_servo_pi, "servo-pi", ARG_INT2},
{ f_latency, "latency", ARG_INT2},
{ f_domain, "domain-number", ARG_INT},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment