Lines Matching defs:endtime
146 struct timespec endtime;
260 if (clock_gettime(CLOCK_REALTIME, &endtime) < 0) {
265 endtime.tv_sec -= starttime.tv_sec;
266 endtime.tv_nsec -= starttime.tv_nsec;
267 while (endtime.tv_nsec < 0) {
268 endtime.tv_sec -= 1;
269 endtime.tv_nsec += 1000000000;
272 endtime.tv_sec, endtime.tv_nsec);
275 1024 * i / ((double) endtime.tv_sec +
276 (double) endtime.tv_nsec / 1000000000.));