Completata revisione capitolo 6.
[gapil.git] / listati / timex.h
index 05ff67ebc25ea8cc1e15b1cc9b9990137832be6d..022ccde29b20eaf7b6422119062287940507af71 100644 (file)
@@ -1,21 +1,13 @@
 struct timex {
-    unsigned int modes;   /* mode selector */
-    long int offset;      /* time offset (usec) */
-    long int freq;        /* frequency offset (scaled ppm) */
-    long int maxerror;    /* maximum error (usec) */
-    long int esterror;    /* estimated error (usec) */
+    int modes;            /* mode selector */
+    long offset;          /* time offset (usec) */
+    long freq;            /* frequency offset (scaled ppm) */
+    long maxerror;        /* maximum error (usec) */
+    long esterror;        /* estimated error (usec) */
     int status;           /* clock command/status */
-    long int constant;    /* pll time constant */
-    long int precision;   /* clock precision (usec) (read only) */
-    long int tolerance;   /* clock frequency tolerance (ppm) (read only) */
+    long constant;        /* pll time constant */
+    long precision;       /* clock precision (usec) (read only) */
+    long tolerance;       /* clock frequency tolerance (ppm) (read only) */
     struct timeval time;  /* (read only) */
-    long int tick;        /* (modified) usecs between clock ticks */
-    long int ppsfreq;     /* pps frequency (scaled ppm) (ro) */
-    long int jitter;      /* pps jitter (us) (ro) */
-    int shift;            /* interval duration (s) (shift) (ro) */
-    long int stabil;      /* pps stability (scaled ppm) (ro) */
-    long int jitcnt;      /* jitter limit exceeded (ro) */
-    long int calcnt;      /* calibration intervals (ro) */
-    long int errcnt;      /* calibration errors (ro) */
-    long int stbcnt;      /* stability limit exceeded (ro) */
+    long tick;            /* (modified) usecs between clock ticks */
 };