Lines Matching defs:diff
79 struct timeval tv, diff, diffdiff;
93 diff.tv_sec = tv.tv_sec - rtime->tv_sec;
94 diff.tv_usec = tv.tv_usec - rtime->tv_nsec / 1000;
95 normalize(&diff);
97 diffdiff.tv_sec = diff.tv_sec - prevdiff.tv_sec;
98 diffdiff.tv_usec = diff.tv_usec - prevdiff.tv_usec;
100 prevdiff = diff;
102 fprintf(stderr, " real time: %12ld sec %8ld usec\nqueue time: %12ld sec %8ld usec\n diff: %12ld sec %8ld usec\n diffdiff: %12ld sec %8ld usec\n",
105 diff.tv_sec, diff.tv_usec,