Lines Matching refs:tp
65 struct timeval tp;
73 gettimeofday(&tp, &tzp);
74 last = tp.tv_usec;
76 gettimeofday(&tp, &tzp);
77 diff = tp.tv_usec - last;
80 last = tp.tv_usec;
120 struct timeval tp;
135 tp.tv_sec = ts.tv_sec;
136 tp.tv_usec = ts.tv_nsec / 1000;
138 GETTIMEOFDAY(&tp, &tzp);
140 last = tp.tv_usec;
144 tp.tv_sec = ts.tv_sec;
145 tp.tv_usec = ts.tv_nsec / 1000;
147 GETTIMEOFDAY(&tp, &tzp);
149 diff = tp.tv_usec - last;
150 last = tp.tv_usec;