Home
last modified time | relevance | path

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

12345678910>>...16

/external/strace/
Ddefs.h356 struct timeval stime; /* System time usage as of last process wait */
357 struct timeval dtime; /* Delta for system time usage */
358 struct timeval etime; /* Syscall entry time */
529 extern int count_syscall(struct tcb *, struct timeval *);
595 extern int tv_nz(struct timeval *);
596 extern int tv_cmp(struct timeval *, struct timeval *);
597 extern double tv_float(struct timeval *);
598 extern void tv_add(struct timeval *, struct timeval *, struct timeval *);
599 extern void tv_sub(struct timeval *, struct timeval *, struct timeval *);
600 extern void tv_mul(struct timeval *, struct timeval *, int);
[all …]
Dcount.c41 struct timeval time;
48 static struct timeval shortest = { 1000000, 0 };
51 count_syscall(struct tcb *tcp, struct timeval *tv) in count_syscall()
75 static struct timeval one_tick; in count_syscall()
131 static struct timeval overhead = { -1, -1 };
162 struct timeval tv_cum, dtv; in call_summary_pers()
/external/kernel-headers/original/linux/
Dtime.h18 struct timeval { struct
58 static inline int timeval_compare(struct timeval *lhs, struct timeval *rhs) in timeval_compare()
107 extern void do_gettimeofday(struct timeval *tv);
111 extern long do_utimes(int dfd, char __user *filename, struct timeval *times);
141 static inline s64 timeval_to_ns(const struct timeval *tv) in timeval_to_ns()
161 extern struct timeval ns_to_timeval(const s64 nsec);
201 struct timeval it_interval; /* timer interval */
202 struct timeval it_value; /* current value */
Dktime.h106 static inline ktime_t timeval_to_ktime(struct timeval tv) in timeval_to_ktime()
214 static inline ktime_t timeval_to_ktime(const struct timeval tv) in timeval_to_ktime()
238 static inline struct timeval ktime_to_timeval(const ktime_t kt) in ktime_to_timeval()
240 return (struct timeval) { in ktime_to_timeval()
Dresource.h24 struct timeval ru_utime; /* user time used */
25 struct timeval ru_stime; /* system time used */
/external/e2fsprogs/e2fsck/
Dscantest.c47 struct timeval time_start;
48 struct timeval user_start;
49 struct timeval system_start;
66 static __inline__ float timeval_subtract(struct timeval *tv1, in timeval_subtract()
67 struct timeval *tv2) in timeval_subtract()
76 struct timeval time_end; in print_resource_track()
/external/chromium/third_party/libevent/
Devent.c119 static int timeout_next(struct event_base *, struct timeval **);
121 static void timeout_correct(struct event_base *, struct timeval *);
135 gettime(struct event_base *base, struct timeval *tp) in gettime()
424 event_loopexit(const struct timeval *tv) in event_loopexit()
431 event_base_loopexit(struct event_base *event_base, const struct timeval *tv) in event_base_loopexit()
469 struct timeval tv; in event_base_loop()
470 struct timeval *tv_p; in event_base_loop()
562 void (*callback)(int, short, void *), void *arg, const struct timeval *tv) in event_once()
570 void (*callback)(int, short, void *), void *arg, const struct timeval *tv) in event_base_once()
573 struct timeval etv; in event_base_once()
[all …]
Devent.h226 struct timeval ev_timeout;
407 int event_loopexit(const struct timeval *);
424 int event_base_loopexit(struct event_base *, const struct timeval *);
567 const struct timeval *);
590 const struct timeval *timeout);
611 int event_add(struct event *ev, const struct timeval *timeout);
641 int event_pending(struct event *ev, short event, struct timeval *tv);
1155 struct timeval *tv);
1174 struct timeval *ptv);
Devent-internal.h43 int (*dispatch)(struct event_base *, void *, struct timeval *);
66 struct timeval event_tv;
70 struct timeval tv_cache;
/external/openssl/ssl/
Dd1_lib.c69 static void get_current_time(struct timeval *t);
254 if (dtls1_get_timeout(s, (struct timeval*) parg) != NULL) in dtls1_ctrl()
299 memset(&(s->d1->next_timeout), 0, sizeof(struct timeval)); in dtls1_start_timer()
318 struct timeval* dtls1_get_timeout(SSL *s, struct timeval* timeleft) in dtls1_get_timeout()
320 struct timeval timenow; in dtls1_get_timeout()
336 memset(timeleft, 0, sizeof(struct timeval)); in dtls1_get_timeout()
341 memcpy(timeleft, &(s->d1->next_timeout), sizeof(struct timeval)); in dtls1_get_timeout()
356 memset(timeleft, 0, sizeof(struct timeval)); in dtls1_get_timeout()
365 struct timeval timeleft; in dtls1_is_timer_expired()
395 memset(&(s->d1->next_timeout), 0, sizeof(struct timeval)); in dtls1_stop_timer()
[all …]
/external/libusb/libusb/
Dio.c1093 struct timeval *timeout = &transfer->timeout; in add_to_flying_list()
1117 struct timeval *cur_tv = &cur->timeout; in add_to_flying_list()
1315 struct timeval *cur_tv = &transfer->timeout; in arm_timerfd_for_next_timeout()
1644 API_EXPORTED int libusb_wait_for_event(libusb_context *ctx, struct timeval *tv) in libusb_wait_for_event()
1700 struct timeval systime; in handle_timeouts_locked()
1716 struct timeval *cur_tv = &transfer->timeout; in handle_timeouts_locked()
1776 static int handle_events(struct libusb_context *ctx, struct timeval *tv) in handle_events()
1882 static int get_next_timeout(libusb_context *ctx, struct timeval *tv, in get_next_timeout()
1883 struct timeval *out) in get_next_timeout()
1885 struct timeval timeout; in get_next_timeout()
[all …]
/external/ping/
Dping_common.h91 extern struct timeval start_time, cur_time;
128 static inline void tvsub(struct timeval *out, struct timeval *in) in tvsub()
188 extern int parse_reply(struct msghdr *msg, int len, void *addr, struct timeval *);
199 int csfailed, struct timeval *tv, char *from);
Dping.c96 struct timeval start_time, cur_time;
366 struct timeval tv; in pinger()
485 struct timeval tv; in setup()
651 struct timeval *recv_timep = NULL; in main_loop()
652 struct timeval recv_time; in main_loop()
684 if (c->cmsg_len < CMSG_LEN(sizeof(struct timeval))) in main_loop()
686 recv_timep = (struct timeval*)CMSG_DATA(c); in main_loop()
718 int csfailed, struct timeval *tv, char *from) in gather_statistics()
727 if (timing && cc >= 8+sizeof(struct timeval)) { in gather_statistics()
728 struct timeval tmp_tv; in gather_statistics()
[all …]
/external/netperf/
Dhist.h98 void HIST_timestamp(struct timeval *timestamp);
112 int delta_micro(struct timeval *begin, struct timeval *end);
/external/ipsec-tools/src/racoon/
Dmisc.h50 struct timeval;
51 extern double timedelta __P((struct timeval *, struct timeval *));
/external/openssh/
Dmisc.h36 void ms_subtract_diff(struct timeval *, int *);
37 void ms_to_timeval(struct timeval *, int);
85 struct timeval bwstart, bwend;
/external/tcpdump/lbl/
Dos-sunos4.h105 struct timeval;
108 int gettimeofday(struct timeval *, struct timezone *);
147 int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
194 int utimes(const char *, struct timeval *);
Dos-ultrix4.h31 struct timeval;
34 int gettimeofday(struct timeval *, struct timezone *);
/external/libpcap/lbl/
Dos-sunos4.h105 struct timeval;
108 int gettimeofday(struct timeval *, struct timezone *);
147 int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
194 int utimes(const char *, struct timeval *);
Dos-ultrix4.h31 struct timeval;
34 int gettimeofday(struct timeval *, struct timezone *);
/external/e2fsprogs/lib/uuid/
Duuid_time.c56 time_t uuid_time(const uuid_t uu, struct timeval *ret_tv) in uuid_time()
58 struct timeval tv; in uuid_time()
124 struct timeval tv; in main()
/external/elfutils/backends/
Dlinux-core-note.c50 struct EBLHOOK(timeval) in EBLHOOK() argument
75 struct EBLHOOK(timeval) pr_utime; in EBLHOOK()
76 struct EBLHOOK(timeval) pr_stime; in EBLHOOK()
77 struct EBLHOOK(timeval) pr_cutime; in EBLHOOK()
78 struct EBLHOOK(timeval) pr_cstime; in EBLHOOK()
/external/dhcpcd/
Deloop.c40 static struct timeval now;
51 struct timeval when;
114 const struct timeval *when, void (*callback)(void *), void *arg) in add_q_timeout_tv()
116 struct timeval w; in add_q_timeout_tv()
176 struct timeval tv; in add_q_timeout_sec()
288 struct timeval tv; in start_eloop()
/external/chromium/third_party/libevent/sample/
Dtime-test.c35 struct timeval tv; in timeout_cb()
52 struct timeval tv; in main()
/external/iproute2/misc/
Dlnstat.h28 struct timeval last_read; /* last time of read */
29 struct timeval interval; /* interval */

12345678910>>...16