Lines Matching defs:now
165 uint64_t now, duration, last;
169 now = local_clock();
170 duration = time_after64(now, start_time)
171 ? now - start_time : 0;
172 last = time_after64(now, stats->last)
173 ? now - stats->last : 0;
188 stats->last = now ?: 1;
203 uint64_t now = local_clock();
213 if (time_before64(now + NSEC_PER_SEC * 5LLU / 2LLU, d->next))
214 d->next = now + NSEC_PER_SEC * 5LLU / 2LLU;
216 if (time_after64(now - NSEC_PER_SEC * 2, d->next))
217 d->next = now - NSEC_PER_SEC * 2;
219 return time_after64(d->next, now)
220 ? div_u64(d->next - now, NSEC_PER_SEC / HZ)