Lines Matching refs:ts
44 struct timespec ts; in main() member
51 if (syscall(__NR_clock_getres, CLOCK_REALTIME, &t.ts)) in main()
55 (long long) t.ts.tv_sec, in main()
56 zero_extend_signed_to_ull(t.ts.tv_nsec)); in main()
58 if (syscall(__NR_clock_gettime, CLOCK_PROCESS_CPUTIME_ID, &t.ts)) in main()
62 (long long) t.ts.tv_sec, in main()
63 zero_extend_signed_to_ull(t.ts.tv_nsec)); in main()
65 t.ts.tv_sec = 0xdeface1; in main()
66 t.ts.tv_nsec = 0xdeface2; in main()
67 rc = syscall(__NR_clock_settime, CLOCK_THREAD_CPUTIME_ID, &t.ts); in main()
70 (long long) t.ts.tv_sec, in main()
71 zero_extend_signed_to_ull(t.ts.tv_nsec), sprintrc(rc)); in main()
73 t.ts.tv_sec = 0xdeadbeefU; in main()
74 t.ts.tv_nsec = 0xfacefeedU; in main()
75 rc = syscall(__NR_clock_settime, CLOCK_THREAD_CPUTIME_ID, &t.ts); in main()
78 (long long) t.ts.tv_sec, in main()
79 zero_extend_signed_to_ull(t.ts.tv_nsec), sprintrc(rc)); in main()
81 t.ts.tv_sec = (time_t) 0xcafef00ddeadbeefLL; in main()
82 t.ts.tv_nsec = (long) 0xbadc0dedfacefeedLL; in main()
83 rc = syscall(__NR_clock_settime, CLOCK_THREAD_CPUTIME_ID, &t.ts); in main()
86 (long long) t.ts.tv_sec, in main()
87 zero_extend_signed_to_ull(t.ts.tv_nsec), sprintrc(rc)); in main()