Lines Matching +full:sample +full:- +full:time
8 #include <sys/time.h>
43 #define AUIB_INIT(ib) ((ib)->ib_head = (ib)->ib_tail = (ib)->ib_lock = \
44 (ib)->phase = (ib)->shi = (ib)->slo = (ib)->high = \
45 (ib)->level0 = (ib)->level1 = \
46 (ib)->shift[0] = (ib)->shift[1] = (ib)->shift[2] = \
47 (ib)->shift[3] = (ib)->sdata[0] = (ib)->sdata[1] = \
48 (ib)->sdata[2] = (ib)->sdata[3] = (ib)->err = 0)
49 #define AUIB_EMPTY(ib) ((ib)->ib_head == (ib)->ib_tail)
50 #define AUIB_LEN(ib) (AUIB_MOD((ib)->ib_tail - (ib)->ib_head))
51 #define AUIB_LEFT(ib) (AUIB_MOD((ib)->ib_head - (ib)->ib_tail - 1))
63 char time[14]; /* time string */ member
73 u_short format; /* time output format */
74 struct irig_time timestr; /* time structure */
78 struct timeval tv1,tv2,tv3; /* time stamps (median filter) */
81 int high; /* recent largest sample */
82 int sl0,sl1; /* recent sample levels */
83 int lasts; /* last sample value */
84 u_short scount; /* sample count */
85 u_long eacc; /* 10-bit element accumulator */
87 u_char r_level,mmr1; /* recording level 0-255 */