mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 01:25:06 -05:00
ntp: remove debug messages in slew handler
This commit is contained in:
@@ -1585,18 +1585,12 @@ NCR_ProcessUnknown
|
|||||||
void
|
void
|
||||||
NCR_SlewTimes(NCR_Instance inst, struct timeval *when, double dfreq, double doffset)
|
NCR_SlewTimes(NCR_Instance inst, struct timeval *when, double dfreq, double doffset)
|
||||||
{
|
{
|
||||||
struct timeval prev;
|
|
||||||
double delta;
|
double delta;
|
||||||
prev = inst->local_rx;
|
|
||||||
if (inst->local_rx.tv_sec || inst->local_rx.tv_usec)
|
if (inst->local_rx.tv_sec || inst->local_rx.tv_usec)
|
||||||
UTI_AdjustTimeval(&inst->local_rx, when, &inst->local_rx, &delta, dfreq, doffset);
|
UTI_AdjustTimeval(&inst->local_rx, when, &inst->local_rx, &delta, dfreq, doffset);
|
||||||
DEBUG_LOG(LOGF_NtpCore, "rx prev=[%s] new=[%s]",
|
|
||||||
UTI_TimevalToString(&prev), UTI_TimevalToString(&inst->local_rx));
|
|
||||||
prev = inst->local_tx;
|
|
||||||
if (inst->local_tx.tv_sec || inst->local_tx.tv_usec)
|
if (inst->local_tx.tv_sec || inst->local_tx.tv_usec)
|
||||||
UTI_AdjustTimeval(&inst->local_tx, when, &inst->local_tx, &delta, dfreq, doffset);
|
UTI_AdjustTimeval(&inst->local_tx, when, &inst->local_tx, &delta, dfreq, doffset);
|
||||||
DEBUG_LOG(LOGF_NtpCore, "tx prev=[%s] new=[%s]",
|
|
||||||
UTI_TimevalToString(&prev), UTI_TimevalToString(&inst->local_tx));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ================================================== */
|
/* ================================================== */
|
||||||
|
|||||||
Reference in New Issue
Block a user