Searched refs:tpget (Results 1 - 4 of 4) sorted by relevance
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/ |
H A D | 1-1.c | 31 struct timespec tpset, tpget, tpreset, tpres; in main() local 50 if (clock_gettime(CLOCK_REALTIME, &tpget) == -1) { in main() 55 delta = tpget.tv_sec - tpset.tv_sec; in main() 56 nsdelta = PR_NSEC_PER_SEC - tpget.tv_nsec; in main()
|
H A D | helpers.h | 15 static int getBeforeTime(struct timespec *tpget) in getBeforeTime() argument 17 if (clock_gettime(CLOCK_REALTIME, tpget) != 0) { in getBeforeTime()
|
/third_party/ltp/testcases/open_posix_testsuite/functional/timers/clocks/ |
H A D | twopsetclock.c | 33 struct timespec tpget, tsreset; in main() local 50 if (clock_gettime(CLOCK_REALTIME, &tpget) == -1) { in main() 73 if (clock_gettime(CLOCK_REALTIME, &tpget) == -1) { in main() 77 delta = (tpget.tv_sec - LONGTIME) - TESTTIME; in main()
|
H A D | invaliddates.c | 33 struct timespec tpset, tpget, tsreset; in main() local 47 if (clock_gettime(CLOCK_REALTIME, &tpget) == -1) { in main() 51 secdelta = tpget.tv_sec - tpset.tv_sec; in main() 52 nsecdelta = tpget.tv_nsec - tpset.tv_nsec; in main()
|
Completed in 2 milliseconds