sourcestats: include offset SD in tracking root dispersion
This commit is contained in:
parent
0b709ab1bc
commit
2a030c0d0c
1 changed files with 1 additions and 1 deletions
|
@ -724,7 +724,7 @@ SST_GetTrackingData(SST_Stats inst, struct timespec *ref_time,
|
|||
*root_delay = inst->root_delays[j];
|
||||
|
||||
elapsed_sample = UTI_DiffTimespecsToDouble(&inst->offset_time, &inst->sample_times[i]);
|
||||
*root_dispersion = inst->root_dispersions[j] + inst->skew * elapsed_sample;
|
||||
*root_dispersion = inst->root_dispersions[j] + inst->skew * elapsed_sample + *offset_sd;
|
||||
|
||||
DEBUG_LOG("n=%d freq=%f (%.3fppm) skew=%f (%.3fppm) avoff=%f offsd=%f disp=%f",
|
||||
inst->n_samples, *frequency, 1.0e6* *frequency, *skew, 1.0e6* *skew,
|
||||
|
|
Loading…
Reference in a new issue