equal
deleted
inserted
replaced
1 --- ntpd/ntp_proto.c.orig Thu May 14 06:34:42 2009 |
|
2 +++ ntpd/ntp_proto.c Thu May 14 06:15:13 2009 |
|
3 @@ -1629,6 +1629,16 @@ |
|
4 char *fmri; |
|
5 #endif /* HAVE_LIBSCF_H */ |
|
6 |
|
7 +#ifdef DEBUG_TIMING |
|
8 +{ |
|
9 + char buf[2048]; |
|
10 + |
|
11 + snprintf(buf, sizeof(buf), "%lu %lu %d %d epoch", |
|
12 + sys_epoch,peer->epoch,peer->epoch-sys_epoch,current_time - peer->epoch); |
|
13 + record_timing_stats(buf); |
|
14 +} |
|
15 +#endif |
|
16 + |
|
17 /* |
|
18 * Update the system state variables. We do this very carefully, |
|
19 * as the poll interval might need to be clamped differently. |
|