Lines Matching refs:endtime
222 struct timespec endtime;
323 if (clock_gettime(CLOCK_REALTIME, &endtime) < 0) {
328 endtime.tv_sec -= starttime.tv_sec;
329 endtime.tv_nsec -= starttime.tv_nsec;
330 while (endtime.tv_nsec < 0) {
331 endtime.tv_sec -= 1;
332 endtime.tv_nsec += 1000000000;
335 endtime.tv_sec, endtime.tv_nsec);
338 1024 * i / ((double) endtime.tv_sec +
339 (double) endtime.tv_nsec / 1000000000.));