Home
last modified time | relevance | path

Searched refs:timespec (Results 1 – 25 of 233) sorted by relevance

12345678910

/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Dtest_util.c81 int64_t timespec_to_ns(struct timespec ts) in timespec_to_ns()
86 struct timespec timespec_add_ns(struct timespec ts, int64_t ns) in timespec_add_ns()
88 struct timespec res; in timespec_add_ns()
97 struct timespec timespec_add(struct timespec ts1, struct timespec ts2) in timespec_add()
101 return timespec_add_ns((struct timespec){0}, ns1 + ns2); in timespec_add()
104 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2) in timespec_sub()
108 return timespec_add_ns((struct timespec){0}, ns1 - ns2); in timespec_sub()
111 struct timespec timespec_elapsed(struct timespec start) in timespec_elapsed()
113 struct timespec end; in timespec_elapsed()
119 struct timespec timespec_div(struct timespec ts, int divisor) in timespec_div()
[all …]
/openbmc/linux/tools/testing/selftests/kvm/include/
H A Dtest_util.h81 int64_t timespec_to_ns(struct timespec ts);
82 struct timespec timespec_add_ns(struct timespec ts, int64_t ns);
83 struct timespec timespec_add(struct timespec ts1, struct timespec ts2);
84 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2);
85 struct timespec timespec_elapsed(struct timespec start);
86 struct timespec timespec_div(struct timespec ts, int divisor);
/openbmc/linux/tools/testing/selftests/timers/
H A Dadjtick.c44 unsigned long long ts_to_nsec(struct timespec ts) in ts_to_nsec()
49 struct timespec nsec_to_ts(long long ns) in nsec_to_ts()
51 struct timespec ts; in nsec_to_ts()
59 long long diff_timespec(struct timespec start, struct timespec end) in diff_timespec()
69 void get_monotonic_and_raw(struct timespec *mon, struct timespec *raw) in get_monotonic_and_raw()
71 struct timespec start, mid, end; in get_monotonic_and_raw()
98 struct timespec mon_start, raw_start, mon_end, raw_end; in get_ppm_drift()
170 struct timespec raw; in main()
H A Draw_skew.c46 unsigned long long ts_to_nsec(struct timespec ts) in ts_to_nsec()
51 struct timespec nsec_to_ts(long long ns) in nsec_to_ts()
53 struct timespec ts; in nsec_to_ts()
60 long long diff_timespec(struct timespec start, struct timespec end) in diff_timespec()
69 void get_monotonic_and_raw(struct timespec *mon, struct timespec *raw) in get_monotonic_and_raw()
71 struct timespec start, mid, end; in get_monotonic_and_raw()
94 struct timespec mon, raw, start, end; in main()
H A Dmqueue-lat.c40 long long timespec_sub(struct timespec a, struct timespec b) in timespec_sub()
48 struct timespec timespec_add(struct timespec ts, unsigned long long ns) in timespec_add()
63 struct timespec start, end, now, target; in mqueue_lat_test()
H A Dnanosleep.c80 static inline int in_order(struct timespec a, struct timespec b) in in_order()
91 struct timespec timespec_add(struct timespec ts, unsigned long long ns) in timespec_add()
103 struct timespec now, target, rel; in nanosleep_test()
H A Dleap-a-day.c60 static inline int in_order(struct timespec a, struct timespec b) in in_order()
71 struct timespec timespec_add(struct timespec ts, unsigned long long ns) in timespec_add()
162 struct timespec now, target; in test_hrtimer_failure()
213 struct timespec ts; in main()
238 struct timespec ts; in main()
331 struct timespec tai; in main()
H A Dnsleep-lat.c79 struct timespec timespec_add(struct timespec ts, unsigned long long ns) in timespec_add()
90 long long timespec_sub(struct timespec a, struct timespec b) in timespec_sub()
100 struct timespec start, end, target; in nanosleep_lat_test()
H A Dalarmtimer-suspend.c54 struct timespec start_time;
87 long long timespec_sub(struct timespec a, struct timespec b) in timespec_sub()
100 struct timespec ts; in sigalarm()
H A Dinconsistency-check.c80 static inline int in_order(struct timespec a, struct timespec b) in in_order()
96 struct timespec list[CALLS_PER_LOOP]; in consistency_test()
157 struct timespec ts; in main()
H A Dthreadtest.c37 struct timespec global_list[LISTSIZE];
41 void checklist(struct timespec *list, int size) in checklist()
44 struct timespec *a, *b; in checklist()
105 struct timespec my_list[LISTSIZE]; in independent_thread()
/openbmc/linux/tools/testing/selftests/kvm/
H A Ddirty_log_perf_test.c76 struct timespec start; in vcpu_worker()
77 struct timespec ts_diff; in vcpu_worker()
78 struct timespec total = (struct timespec){0}; in vcpu_worker()
79 struct timespec avg; in vcpu_worker()
147 struct timespec start; in run_test()
148 struct timespec ts_diff; in run_test()
149 struct timespec get_dirty_log_total = (struct timespec){0}; in run_test()
150 struct timespec vcpu_dirty_total = (struct timespec){0}; in run_test()
151 struct timespec avg; in run_test()
152 struct timespec clear_dirty_log_total = (struct timespec){0}; in run_test()
H A Ddemand_paging_test.c40 struct timespec start; in vcpu_worker()
41 struct timespec ts_diff; in vcpu_worker()
65 struct timespec start; in handle_uffd_page_request()
66 struct timespec ts_diff; in handle_uffd_page_request()
134 struct timespec start; in run_test()
135 struct timespec ts_diff; in run_test()
/openbmc/openbmc-tools/pwmtachtool/src/
H A DEINTR_wrappers.h55 int sigwrap_semtimedop(int semid, struct sembuf *sops, size_t nsops, const struct timespec *timeou…
59 int sigwrap_sigtimedwait(const sigset_t *set, siginfo_t *info, const struct timespec *timeout);
60 int sigwrap_nanosleep(const struct timespec *req, struct timespec *rem);
61 …lock_nanosleep(clockid_t clock_id, int flags, const struct timespec *request, struct timespec *rem…
64 int sigwrap_ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *tmo_p, const sigset_t *s…
66 …fds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, const struct timespec *timeout, const s…
H A DEINTR_wrappers.c36 struct timespec EndTime, Timeout;
39 static void sigwrap_InitTimeout(SIGWRAP_TIMEOUT *pDst, const struct timespec *timeout) in sigwrap_InitTimeout()
51 struct timespec Now; in sigwrap_InitTimeout()
71 struct timespec Now; in sigwrap_CheckTimeout()
115 struct timespec Timeout; in sigwrap_epoll_wait()
150 struct timespec Timeout; in sigwrap_epoll_pwait()
194 int sigwrap_sigtimedwait(const sigset_t *set, siginfo_t *info, const struct timespec *timeout) in sigwrap_sigtimedwait()
216 int sigwrap_nanosleep(const struct timespec *req, struct timespec *rem) in sigwrap_nanosleep()
218 struct timespec Wait, Remain; in sigwrap_nanosleep()
238 …lock_nanosleep(clockid_t clock_id, int flags, const struct timespec *request, struct timespec *rem… in sigwrap_clock_nanosleep()
[all …]
/openbmc/openbmc-tools/adcapp/src/
H A DEINTR_wrappers.h55 int sigwrap_semtimedop(int semid, struct sembuf *sops, size_t nsops, const struct timespec *timeou…
59 int sigwrap_sigtimedwait(const sigset_t *set, siginfo_t *info, const struct timespec *timeout);
60 int sigwrap_nanosleep(const struct timespec *req, struct timespec *rem);
61 …lock_nanosleep(clockid_t clock_id, int flags, const struct timespec *request, struct timespec *rem…
64 int sigwrap_ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *tmo_p, const sigset_t *s…
66 …fds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, const struct timespec *timeout, const s…
H A DEINTR_wrappers.c36 struct timespec EndTime, Timeout;
39 static void sigwrap_InitTimeout(SIGWRAP_TIMEOUT *pDst, const struct timespec *timeout) in sigwrap_InitTimeout()
51 struct timespec Now; in sigwrap_InitTimeout()
71 struct timespec Now; in sigwrap_CheckTimeout()
110 int sigwrap_semtimedop(int semid, struct sembuf *sops, size_t nsops, const struct timespec *timeout)
142 struct timespec Timeout; in sigwrap_epoll_wait()
177 struct timespec Timeout; in sigwrap_epoll_pwait()
221 int sigwrap_sigtimedwait(const sigset_t *set, siginfo_t *info, const struct timespec *timeout) in sigwrap_sigtimedwait()
243 int sigwrap_nanosleep(const struct timespec *req, struct timespec *rem) in sigwrap_nanosleep()
245 struct timespec Wait, Remain; in sigwrap_nanosleep()
[all …]
/openbmc/linux/tools/testing/selftests/timens/
H A Dvfork_exec.c24 struct timespec *now;
30 struct timespec *now = args->now, tst; in tcheck()
44 static int check_in_thread(char *tst_name, struct timespec *now) in check_in_thread()
60 static int check(char *tst_name, struct timespec *now) in check()
62 struct timespec tst; in check()
79 struct timespec now; in main()
/openbmc/openbmc/poky/meta/recipes-support/db/db/
H A D0001-clock-Do-not-define-own-timespec.patch4 Subject: [PATCH] clock: Do not define own timespec
6 timespec is provided by libc and its best left to libc
8 which assumes that db_timespec and timespec are same but actually
28 - * in all cases than to try and discover if a system has a struct timespec.
30 - * we don't export any timespec structures in the DB API, even in places where
42 +#define db_timespec struct timespec
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/
H A D0001-initialize-timespec-variable.patch4 Subject: [PATCH] initialize timespec variable
9 …pplusplus/23.09/git/Packet++/src/RawPacket.cpp:23:18: error: 'nsec_time.timespec::<anonymous>' is …
10 23 | timespec nsec_time;
28 - timespec nsec_time;
29 + timespec nsec_time = {};
/openbmc/linux/include/uapi/linux/
H A Dtime.h11 struct timespec { struct
23 struct timespec it_interval;/* timer period */ argument
24 struct timespec it_value; /* timer expiration */
/openbmc/linux/tools/perf/bench/
H A Dfutex.h49 futex_syscall(volatile u_int32_t *uaddr, int op, u_int32_t val, struct timespec *timeout, in futex_syscall()
67 futex_wait(u_int32_t *uaddr, u_int32_t val, struct timespec *timeout, int opflags) in futex_wait()
86 futex_lock_pi(u_int32_t *uaddr, struct timespec *timeout, int opflags) in futex_lock_pi()
123 struct timespec *timeout, int opflags) in futex_wait_requeue_pi()
/openbmc/linux/tools/perf/util/
H A Diostat.h21 struct timespec;
39 char *prefix, struct timespec *ts);
44 struct perf_stat_config *config, struct timespec *ts,
/openbmc/linux/tools/testing/selftests/cgroup/
H A Dtest_cpu.c30 struct timespec ts;
105 static struct timespec
106 timespec_sub(const struct timespec *lhs, const struct timespec *rhs) in timespec_sub()
108 struct timespec zero = { in timespec_sub()
112 struct timespec ret; in timespec_sub()
135 struct timespec ts_run = param->ts; in hog_cpus_timed()
136 struct timespec ts_remaining = ts_run; in hog_cpus_timed()
137 struct timespec ts_start; in hog_cpus_timed()
153 struct timespec ts_total; in hog_cpus_timed()
164 struct timespec ts_current; in hog_cpus_timed()
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/pipewire/pipewire-0.2/
H A D0001-module-suspend-on-idle-Include-time.h-for-struct-tim.patch

12345678910