Lines Matching defs:now
219 static struct timespec now, last_tx, next_tx, first_tx;
919 clock_gettime(CLOCK_MONOTONIC, &now);
921 last = timespec_to_sec(&now) + deadline;
933 clock_gettime(CLOCK_MONOTONIC, &now);
948 d_last = last - timespec_to_sec(&now);
952 sec = diffsec(&next_tx, &now);
956 sec = diffsec(&next_tx, &now);
968 diffsec(&now, &last_tx);
1182 last_tx = now;
1184 first_tx = now;
1185 next_tx = now;
1193 if (diffsec(&next_tx, &now) <= interval.tv_sec) {
1196 } while (diffsec(&next_tx, &now) < -0.1);