From 22a309efe3e7b06d97cabf6f4d0deaa0cc64e446 Mon Sep 17 00:00:00 2001 From: richard Date: Sat, 4 Oct 2003 19:56:40 +0000 Subject: [PATCH] Output to syslog more debugging information at startup --- sys_linux.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys_linux.c b/sys_linux.c index 9492c91..83bad73 100644 --- a/sys_linux.c +++ b/sys_linux.c @@ -1,5 +1,5 @@ /* - $Header: /cvs/src/chrony/sys_linux.c,v 1.44 2003/09/22 21:22:30 richard Exp $ + $Header: /cvs/src/chrony/sys_linux.c,v 1.45 2003/10/04 19:56:40 richard Exp $ ======================================================================= @@ -662,6 +662,10 @@ get_version_specific_details(void) slew_delta_tick = nominal_tick / 12; max_tick_bias = nominal_tick / 10; + LOG(LOGS_INFO, LOGF_SysLinux, "set_config_hz=%d hz=%d shift_hz=%d basic_freq_scale=%.8f nominal_tick=%d slew_delta_tick=%d max_tick_bias=%d", + set_config_hz, hz, shift_hz, basic_freq_scale, nominal_tick, slew_delta_tick, max_tick_bias); + + /* The basic_freq_scale comes from: * the kernel increments the usec counter HZ times per second (if the timer interrupt period were perfect)