Searched refs:timeDiff (Results 1 – 3 of 3) sorted by relevance
| /netbsd-src/external/bsd/cron/dist/ |
| H A D | cron.c | 134 time_t timeDiff; in main() local 148 timeDiff = timeRunning - virtualTime; in main() 151 if (timeDiff == 1) { in main() 155 if (timeDiff > (3*MINUTE_COUNT) || in main() 156 timeDiff < -(3*MINUTE_COUNT)) in main() 158 else if (timeDiff > 5) in main() 160 else if (timeDiff > 0) in main() 173 (intmax_t)getpid(), (intmax_t)timeDiff)); in main() 196 (intmax_t)getpid(), (intmax_t)timeDiff)); in main() 222 (intmax_t)getpid(), (intmax_t)timeDiff)); in main()
|
| /netbsd-src/external/bsd/libevent/dist/test/ |
| H A D | test-changelist.c | 117 struct timeval timeEnd, timeDiff; in get_cpu_usage() local 132 evutil_timersub(&timeEnd, &timer->timeBegin, &timeDiff); in get_cpu_usage() 133 secondsPassed = timeDiff.tv_sec + (timeDiff.tv_usec / 1.0e6); in get_cpu_usage()
|
| /netbsd-src/external/public-domain/sqlite/dist/ |
| H A D | shell.c | 1333 static double timeDiff(struct timeval *pStart, struct timeval *pEnd){ in timeDiff() function 1348 timeDiff(&sBegin.ru_utime, &sEnd.ru_utime), in endTimer() 1349 timeDiff(&sBegin.ru_stime, &sEnd.ru_stime)); in endTimer() 1411 static double timeDiff(FILETIME *pStart, FILETIME *pEnd){ in timeDiff() function 1427 timeDiff(&ftUserBegin, &ftUserEnd), in endTimer() 1428 timeDiff(&ftKernelBegin, &ftKernelEnd)); in endTimer()
|