Lines Matching defs:now
57 struct timeval now, tv;
60 getmicrotime(&now);
61 timersub(&tv, &now, &tv);
68 struct timespec now, ts;
71 getnanotime(&now);
72 timespecsub(&ts, &now, &ts);
79 struct timespec now, ts;
82 getnanouptime(&now);
83 timespecsub(&ts, &now, &ts);
102 struct timespec now, sleptts;
109 getnanouptime(&now);
110 KASSERT(timespeccmp(sleepts, &now, <=));
111 timespecsub(&now, sleepts, &sleptts);
112 *sleepts = now;