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);
118 struct timespec now, sleptts;
125 getnanouptime(&now);
126 KASSERT(timespeccmp(sleepts, &now, <=));
127 timespecsub(&now, sleepts, &sleptts);
128 *sleepts = now;