Home
last modified time | relevance | path

Searched refs:timeval (Results 1 – 25 of 102) sorted by relevance

12345

/linux/tools/testing/selftests/x86/
A Dtest_vsyscall.c57 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz);
161 static inline long sys_gtod(struct timeval *tv, struct timezone *tz) in sys_gtod()
193 static double tv_diff(const struct timeval *a, const struct timeval *b) in tv_diff()
199 static int check_gtod(const struct timeval *tv_sys1, in check_gtod()
200 const struct timeval *tv_sys2, in check_gtod()
203 const struct timeval *tv_other, in check_gtod()
230 struct timeval tv_sys1, tv_sys2, tv_vdso, tv_vsys; in test_gtod()
/linux/include/uapi/linux/
A Dtime.h17 struct timeval { struct
28 struct timeval it_interval;/* timer interval */ argument
29 struct timeval it_value; /* current value */
A Dppdev.h81 #define PPGETTIME _IOR(PP_IOCTL, 0x95, struct timeval)
82 #define PPSETTIME _IOW(PP_IOCTL, 0x96, struct timeval)
/linux/tools/testing/selftests/timers/
A Dposix_timers.c62 static int check_diff(struct timeval start, struct timeval end) in check_diff()
80 struct timeval start, end; in check_itimer()
142 struct timeval start, end; in check_timer_create()
A Dset-tz.c41 struct timeval tv; in get_tz_min()
51 struct timeval tv; in get_tz_dst()
A Dleapcrash.c82 struct timeval tv; in main()
A Dset-2038.c50 struct timeval now; in settime()
/linux/tools/testing/selftests/net/
A Dtimestamping.c138 struct timeval now; in sendpacket()
160 struct timeval tv; in printpacket()
162 struct timeval now; in printpacket()
181 struct timeval *stamp = in printpacket()
182 (struct timeval *)CMSG_DATA(cmsg); in printpacket()
335 struct timeval next; in main()
501 struct timeval now; in main()
502 struct timeval delta; in main()
A Dfin_ack_lat.c17 static unsigned long timediff(struct timeval s, struct timeval e) in timediff()
36 struct timeval start, end; in client()
/linux/tools/testing/selftests/vDSO/
A Dvdso_test_correctness.c58 typedef long (*vgtod_t)(struct timeval *tv, struct timezone *tz);
159 static inline int sys_gettimeofday(struct timeval *tv, struct timezone *tz) in sys_gettimeofday()
233 static bool tv_leq(const struct timeval *a, const struct timeval *b) in tv_leq()
386 struct timeval start, vdso, end; in test_gettimeofday()
A Dvdso_test_gettimeofday.c46 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); in main()
54 struct timeval tv; in main()
A Dvdso_standalone_test_x86.c88 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); in c_main()
94 struct timeval tv; in c_main()
A Dvdso_test_abi.c31 typedef long (*vdso_gettimeofday_t)(struct timeval *tv, struct timezone *tz);
47 struct timeval tv; in vdso_test_gettimeofday()
/linux/tools/testing/selftests/rtc/
A Drtctest.c90 struct timeval tv = { .tv_sec = 2 }; in TEST_F()
113 struct timeval tv = { .tv_sec = ALARM_DELTA + 2 }; in TEST_F()
166 struct timeval tv = { .tv_sec = ALARM_DELTA + 2 }; in TEST_F()
215 struct timeval tv = { .tv_sec = 62 };
268 struct timeval tv = { .tv_sec = 62 };
/linux/tools/testing/selftests/rcutorture/bin/
A Dmkinitrd.sh40 struct timeval tv;
41 struct timeval tvb;
/linux/arch/xtensa/platforms/iss/include/platform/
A Dsimcall.h67 long timeval[2] = { 0, 0 }; in simc_poll() local
69 return __simc(SYS_select_one, fd, XTISS_SELECT_ONE_READ, (int)&timeval); in simc_poll()
/linux/tools/perf/bench/
A Dmem-functions.c94 static double timeval2double(struct timeval *ts) in timeval2double()
256 struct timeval tv_start, tv_end, tv_diff; in do_memcpy_gettimeofday()
326 struct timeval tv_start, tv_end, tv_diff; in do_memset_gettimeofday()
A Dsynthesize.c66 struct timeval start, end, diff; in do_run_single_threaded()
153 struct timeval start, end, diff; in do_run_multi_threaded()
A Devlist-open-close.c28 static inline u64 timeval2usec(struct timeval *tv) in timeval2usec()
144 struct timeval start, end, diff; in bench_evlist_open_close__run()
A Dsyscall.c35 struct timeval start, stop, diff; in bench_syscall_basic()
A Dbench.h7 extern struct timeval bench__start, bench__end, bench__runtime;
A Dkallsyms-parse.c37 struct timeval start, end, diff; in do_kallsyms_parse()
A Dfutex-wake-parallel.c42 struct timeval runtime;
79 struct timeval start, end; in waking_workerfn()
/linux/tools/testing/selftests/powerpc/benchmarks/
A Dgettimeofday.c15 struct timeval tv_start, tv_end; in test_gettimeofday()
/linux/tools/include/nolibc/
A Dnolibc.h163 struct timeval ru_utime;
164 struct timeval ru_stime;
1559 int sys_gettimeofday(struct timeval *tv, struct timezone *tz) in sys_gettimeofday()
1680 int sys_select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout) in sys_select()
1686 struct timeval *t; in sys_select()
2017 int gettimeofday(struct timeval *tv, struct timezone *tz) in gettimeofday()
2200 int select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout) in select()
2238 struct timeval my_timeval = { seconds, 0 }; in sleep()
2249 struct timeval my_timeval = { msecs / 1000, (msecs % 1000) * 1000 }; in msleep()

Completed in 35 milliseconds

12345