usr/src/cmd/ntpd/Patches/timing.patch
branchoi_151a
changeset 252 600924158051
parent 251 1d39ce6d1d4d
child 253 702bbe36863b
--- a/usr/src/cmd/ntpd/Patches/timing.patch	Sun Jan 05 18:57:27 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
---- ntpd/ntp_proto.c.orig	Thu May 14 06:34:42 2009
-+++ ntpd/ntp_proto.c	Thu May 14 06:15:13 2009
-@@ -1629,6 +1629,16 @@
- 	char	*fmri;
- #endif /* HAVE_LIBSCF_H */
- 
-+#ifdef DEBUG_TIMING
-+{
-+        char buf[2048];
-+
-+        snprintf(buf, sizeof(buf), "%lu %lu %d %d epoch",
-+                 sys_epoch,peer->epoch,peer->epoch-sys_epoch,current_time - peer->epoch);
-+        record_timing_stats(buf);
-+}
-+#endif
-+
- 	/*
- 	 * Update the system state variables. We do this very carefully,
- 	 * as the poll interval might need to be clamped differently.