Lines Matching defs:endtime
225 struct timespec endtime;
338 if (clock_gettime(CLOCK_REALTIME, &endtime) < 0) {
343 endtime.tv_sec -= starttime.tv_sec;
344 endtime.tv_nsec -= starttime.tv_nsec;
345 while (endtime.tv_nsec < 0) {
346 endtime.tv_sec -= 1;
347 endtime.tv_nsec += 1000000000;
350 endtime.tv_sec, endtime.tv_nsec);
353 1024 * i / ((double) endtime.tv_sec +
354 (double) endtime.tv_nsec / 1000000000.));