Home
last modified time | relevance | path

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

12345678910>>...15

/OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/lib/
H A Dtest_util.c57 int64_t timespec_to_ns(struct timespec ts) in timespec_to_ns()
62 struct timespec timespec_add_ns(struct timespec ts, int64_t ns) in timespec_add_ns()
64 struct timespec res; in timespec_add_ns()
73 struct timespec timespec_add(struct timespec ts1, struct timespec ts2) in timespec_add()
77 return timespec_add_ns((struct timespec){0}, ns1 + ns2); in timespec_add()
80 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2) in timespec_sub()
84 return timespec_add_ns((struct timespec){0}, ns1 - ns2); in timespec_sub()
87 struct timespec timespec_diff_now(struct timespec start) in timespec_diff_now()
89 struct timespec end; in timespec_diff_now()
95 struct timespec timespec_div(struct timespec ts, int divisor) in timespec_div()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/include/
H A Dtest_util.h63 int64_t timespec_to_ns(struct timespec ts);
64 struct timespec timespec_add_ns(struct timespec ts, int64_t ns);
65 struct timespec timespec_add(struct timespec ts1, struct timespec ts2);
66 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2);
67 struct timespec timespec_diff_now(struct timespec start);
68 struct timespec timespec_div(struct timespec ts, int divisor);
/OK3568_Linux_fs/kernel/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 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 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 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/
H A Ddirty_log_perf_test.c40 struct timespec start; in vcpu_worker()
41 struct timespec ts_diff; in vcpu_worker()
42 struct timespec total = (struct timespec){0}; in vcpu_worker()
43 struct timespec avg; in vcpu_worker()
104 struct timespec start; in run_test()
105 struct timespec ts_diff; in run_test()
106 struct timespec get_dirty_log_total = (struct timespec){0}; in run_test()
107 struct timespec vcpu_dirty_total = (struct timespec){0}; in run_test()
108 struct timespec avg; in run_test()
111 struct timespec clear_dirty_log_total = (struct timespec){0}; in run_test()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/bits/
H A Dstruct_stat.h63 struct timespec st_atim; /* Time of last access. */
64 struct timespec st_mtim; /* Time of last modification. */
65 struct timespec st_ctim; /* Time of last status change. */
109 struct timespec st_atim; /* Time of last access. */
110 struct timespec st_mtim; /* Time of last modification. */
111 struct timespec st_ctim; /* Time of last status change. */
H A Dpoll2.h53 const struct timespec *__timeout,
56 const struct timespec *__timeout,
59 const struct timespec *__timeout,
66 ppoll (struct pollfd *__fds, nfds_t __nfds, const struct timespec *__timeout, in ppoll()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/
H A Dtime.h205 extern int nanosleep (const struct timespec *__requested_time,
206 struct timespec *__remaining);
210 extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __THROW;
213 extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __THROW;
216 extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp)
225 const struct timespec *__req,
226 struct timespec *__rem);
257 extern int timespec_get (struct timespec *__ts, int __base)
H A Dthreads.h91 extern int thrd_sleep (const struct timespec *__time_point,
92 struct timespec *__remaining);
135 const struct timespec *__restrict __time_point);
176 const struct timespec *__restrict __time_point);
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/
H A Dtime.h205 extern int nanosleep (const struct timespec *__requested_time,
206 struct timespec *__remaining);
210 extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __THROW;
213 extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __THROW;
216 extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp)
225 const struct timespec *__req,
226 struct timespec *__rem);
257 extern int timespec_get (struct timespec *__ts, int __base)
H A Dthreads.h91 extern int thrd_sleep (const struct timespec *__time_point,
92 struct timespec *__remaining);
135 const struct timespec *__restrict __time_point);
176 const struct timespec *__restrict __time_point);
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/bits/
H A Dstruct_stat.h65 struct timespec st_atim; /* Time of last access. */
66 struct timespec st_mtim; /* Time of last modification. */
67 struct timespec st_ctim; /* Time of last status change. */
106 struct timespec st_atim; /* Time of last access. */
107 struct timespec st_mtim; /* Time of last modification. */
108 struct timespec st_ctim; /* Time of last status change. */
H A Dpoll2.h53 const struct timespec *__timeout,
56 const struct timespec *__timeout,
59 const struct timespec *__timeout,
66 ppoll (struct pollfd *__fds, nfds_t __nfds, const struct timespec *__timeout, in ppoll()
/OK3568_Linux_fs/yocto/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
/OK3568_Linux_fs/kernel/arch/um/os-Linux/
H A Dtime.c26 static inline long long timespec_to_ns(const struct timespec *ts) in timespec_to_ns()
33 struct timespec realtime_tp; in os_persistent_clock_emulation()
95 struct timespec ts; in os_nsecs()
107 struct timespec ts = { in os_idle_sleep()
/OK3568_Linux_fs/kernel/drivers/rtc/
H A Drtc-fake.c11 static struct timespec begtime;
14 static unsigned long timespec_to_ulong(struct timespec *ts) in timespec_to_ulong()
19 static void get_uptime(struct timespec *ts) in get_uptime()
26 struct timespec now, diff; in fake_rtc_read_time()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/sound/
H A Dasound.h458 struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */
459 struct timespec tstamp; /* reference timestamp */
468 struct timespec audio_tstamp; /* sample counter, wall clock, PHC or on-demand sync'ed */
469 struct timespec driver_tstamp; /* useful in case reference system tstamp is reported with delay */
471 unsigned char reserved[52-2*sizeof(struct timespec)]; /* must be filled with zero */
478 struct timespec tstamp; /* Timestamp */
480 struct timespec audio_tstamp; /* from sample counter or wall clock */
650 struct timespec tstamp; /* Timestamp */
762 struct timespec tstamp; /* Timestamp - last update */
812 struct timespec tstamp;
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/sound/
H A Dasound.h458 struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */
459 struct timespec tstamp; /* reference timestamp */
468 struct timespec audio_tstamp; /* sample counter, wall clock, PHC or on-demand sync'ed */
469 struct timespec driver_tstamp; /* useful in case reference system tstamp is reported with delay */
471 unsigned char reserved[52-2*sizeof(struct timespec)]; /* must be filled with zero */
478 struct timespec tstamp; /* Timestamp */
480 struct timespec audio_tstamp; /* from sample counter or wall clock */
650 struct timespec tstamp; /* Timestamp */
762 struct timespec tstamp; /* Timestamp - last update */
812 struct timespec tstamp;
[all …]
/OK3568_Linux_fs/buildroot/package/i7z/
H A D0001-fix-build-with-gcc-10.patch31 +struct timespec global_ts;
43 -struct timespec global_ts;
44 +extern struct timespec global_ts;
56 -struct timespec global_ts;
57 +extern struct timespec global_ts;
/OK3568_Linux_fs/kernel/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 */

12345678910>>...15