Home
last modified time | relevance | path

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

12345678910>>...23

/external/fio/
Dfio_time.h4 extern uint64_t utime_since(struct timeval *, struct timeval *);
5 extern uint64_t utime_since_now(struct timeval *);
6 extern uint64_t mtime_since(struct timeval *, struct timeval *);
7 extern uint64_t mtime_since_now(struct timeval *);
8 extern uint64_t time_since_now(struct timeval *);
13 extern void fill_start_time(struct timeval *);
Dtime.c6 static struct timeval genesis;
14 struct timeval start; in usec_spin()
24 struct timeval tv; in usec_sleep()
73 struct timeval tv; in ramp_time_over()
99 struct timeval tv; in fio_time_init()
120 void fill_start_time(struct timeval *t) in fill_start_time()
Dgettime.c23 struct timeval last_tv;
139 static void *__fio_gettime(struct timeval *tp) in __fio_gettime()
199 void fio_gettime(struct timeval *tp, void *caller) in fio_gettime()
201 void fio_gettime(struct timeval *tp, void fio_unused *caller) in fio_gettime()
239 struct timeval s, e; in get_cycles_per_usec()
380 uint64_t utime_since(struct timeval *s, struct timeval *e) in utime_since()
403 uint64_t utime_since_now(struct timeval *s) in utime_since_now()
405 struct timeval t; in utime_since_now()
411 uint64_t mtime_since(struct timeval *s, struct timeval *e) in mtime_since()
432 uint64_t mtime_since_now(struct timeval *s) in mtime_since_now()
[all …]
Dfio.h116 struct timeval bw_sample_time;
119 struct timeval iops_sample_time;
228 struct timeval lastrate[DDIR_RWDIR_CNT];
250 struct timeval start; /* start of this loop */
251 struct timeval epoch; /* time job was started */
252 struct timeval last_issue;
253 struct timeval tv_cache;
261 struct timeval latency_ts;
/external/chromium_org/third_party/webrtc/base/
Dtimeutils.cc92 struct timeval { struct
98 static int gettimeofday(struct timeval *tv, void *tz) { in gettimeofday()
128 struct timeval timeval; in CurrentTmTime() local
129 if (gettimeofday(&timeval, NULL) < 0) { in CurrentTmTime()
131 timeval.tv_sec = timeval.tv_usec = 0; in CurrentTmTime()
133 time_t secs = timeval.tv_sec; in CurrentTmTime()
135 *microseconds = timeval.tv_usec; in CurrentTmTime()
/external/strace/
Ddefs.h423 struct timeval stime; /* System time usage as of last process wait */
424 struct timeval dtime; /* Delta for system time usage */
425 struct timeval etime; /* Syscall entry time */
606 extern void count_syscall(struct tcb *, const struct timeval *);
731 extern int tv_nz(const struct timeval *);
732 extern int tv_cmp(const struct timeval *, const struct timeval *);
733 extern double tv_float(const struct timeval *);
734 extern void tv_add(struct timeval *, const struct timeval *, const struct timeval *);
735 extern void tv_sub(struct timeval *, const struct timeval *, const struct timeval *);
736 extern void tv_mul(struct timeval *, const struct timeval *, int);
[all …]
Dcount.c41 struct timeval time;
48 static struct timeval shortest = { 1000000, 0 };
51 count_syscall(struct tcb *tcp, const struct timeval *syscall_exiting_tv) in count_syscall()
53 struct timeval wtv; in count_syscall()
54 struct timeval *tv = &wtv; in count_syscall()
77 static struct timeval one_tick = { -1, 0 }; in count_syscall()
132 static struct timeval overhead = { -1, -1 };
161 struct timeval tv_cum, dtv; in call_summary_pers()
/external/e2fsprogs/e2fsck/
Dscantest.c44 struct timeval time_start;
45 struct timeval user_start;
46 struct timeval system_start;
63 static __inline__ float timeval_subtract(struct timeval *tv1, in timeval_subtract()
64 struct timeval *tv2) in timeval_subtract()
73 struct timeval time_end; in print_resource_track()
/external/chromium_org/third_party/libevent/
Devent.c119 static int timeout_next(struct event_base *, struct timeval **);
121 static void timeout_correct(struct event_base *, struct timeval *);
124 gettime(struct event_base *base, struct timeval *tp) in gettime()
412 event_loopexit(const struct timeval *tv) in event_loopexit()
419 event_base_loopexit(struct event_base *event_base, const struct timeval *tv) in event_base_loopexit()
457 struct timeval tv; in event_base_loop()
458 struct timeval *tv_p; in event_base_loop()
550 void (*callback)(int, short, void *), void *arg, const struct timeval *tv) in event_once()
558 void (*callback)(int, short, void *), void *arg, const struct timeval *tv) in event_base_once()
561 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);
/external/chromium_org/third_party/webrtc/system_wrappers/source/
Dclock.cc145 timeval tv = CurrentTimeVal(); in CurrentNtp()
154 timeval tv = CurrentTimeVal(); in CurrentNtpInMilliseconds()
163 virtual timeval CurrentTimeVal() const = 0;
165 static void Adjust(const timeval& tv, uint32_t* adjusted_s, in Adjust()
189 virtual timeval CurrentTimeVal() const OVERRIDE { in CurrentTimeVal()
194 struct timeval tv; in CurrentTimeVal()
222 virtual timeval CurrentTimeVal() const OVERRIDE { in CurrentTimeVal()
223 struct timeval tv; in CurrentTimeVal()
/external/fio/crc/
Dtest.c57 struct timeval s; in t_md5()
78 struct timeval s; in t_crc64()
97 struct timeval s; in t_crc32()
116 struct timeval s; in t_crc32c()
135 struct timeval s; in t_crc16()
154 struct timeval s; in t_crc7()
175 struct timeval s; in t_sha1()
198 struct timeval s; in t_sha256()
221 struct timeval s; in t_sha512()
243 struct timeval s; in t_xxhash()
/external/kernel-headers/original/uapi/linux/
Delfcore.h55 struct timeval pr_utime; /* User time */
56 struct timeval pr_stime; /* System time */
57 struct timeval pr_cutime; /* Cumulative user time */
58 struct timeval pr_cstime; /* Cumulative system time */
Dtime.h15 struct timeval { struct
40 struct timeval it_interval; /* timer interval */ argument
41 struct timeval it_value; /* current value */
/external/openssl/ssl/
Dd1_lib.c69 static void get_current_time(struct timeval *t);
258 if (dtls1_get_timeout(s, (struct timeval*) parg) != NULL) in dtls1_ctrl()
313 memset(&(s->d1->next_timeout), 0, sizeof(struct timeval)); in dtls1_start_timer()
332 struct timeval* dtls1_get_timeout(SSL *s, struct timeval* timeleft) in dtls1_get_timeout()
334 struct timeval timenow; in dtls1_get_timeout()
350 memset(timeleft, 0, sizeof(struct timeval)); in dtls1_get_timeout()
355 memcpy(timeleft, &(s->d1->next_timeout), sizeof(struct timeval)); in dtls1_get_timeout()
370 memset(timeleft, 0, sizeof(struct timeval)); in dtls1_get_timeout()
379 struct timeval timeleft; in dtls1_is_timer_expired()
409 memset(&(s->d1->next_timeout), 0, sizeof(struct timeval)); in dtls1_stop_timer()
[all …]
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/
Dtestlib.h67 int timeval_subtract(struct timeval *result, struct timeval *x, struct timeval *y);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/tests/
Dtestlib.h67 int timeval_subtract(struct timeval *result, struct timeval *x, struct timeval *y);
/external/chromium_org/third_party/libusb/src/libusb/
Dio.c1236 struct timeval *timeout = &transfer->timeout; in add_to_flying_list()
1257 struct timeval *cur_tv = &cur->timeout; in add_to_flying_list()
1391 struct timeval *cur_tv = &transfer->timeout; in arm_timerfd_for_next_timeout()
1808 int API_EXPORTED libusb_wait_for_event(libusb_context *ctx, struct timeval *tv) in libusb_wait_for_event()
1854 struct timeval systime; in handle_timeouts_locked()
1870 struct timeval *cur_tv = &transfer->timeout; in handle_timeouts_locked()
1925 static int handle_events(struct libusb_context *ctx, struct timeval *tv) in handle_events()
2061 static int get_next_timeout(libusb_context *ctx, struct timeval *tv, in get_next_timeout()
2062 struct timeval *out) in get_next_timeout()
2064 struct timeval timeout; in get_next_timeout()
[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/iputils/
Dping_common.c30 struct timeval start_time, cur_time;
455 struct timeval tv; in print_timestamp()
486 struct timeval tv; in pinger()
632 struct timeval tv; in setup()
803 struct timeval *recv_timep = NULL; in main_loop()
804 struct timeval recv_time; in main_loop()
837 if (c->cmsg_len < CMSG_LEN(sizeof(struct timeval))) in main_loop()
839 recv_timep = (struct timeval*)CMSG_DATA(c); in main_loop()
872 int csfailed, struct timeval *tv, char *from, in gather_statistics()
883 if (timing && cc >= 8+sizeof(struct timeval)) { in gather_statistics()
[all …]
Dtraceroute6.c295 struct in6_addr *to, int seq, struct timeval *);
297 double deltaT (struct timeval *, struct timeval *);
299 void tvsub (struct timeval *, struct timeval *);
328 struct timeval tv;
601 struct timeval t1, t2; in main()
664 static struct timeval wait;
757 double deltaT(struct timeval *t1p, struct timeval *t2p) in deltaT()
826 struct timeval *tv) in packet_ok()
935 register struct timeval *out, *in; in tvsub()
/external/lldb/tools/debugserver/source/
DDNBLog.cpp180 static struct timeval g_timeval = { 0 , 0 }; in _DNBLogThreaded()
181 static struct timeval tv; in _DNBLogThreaded()
182 static struct timeval delta; in _DNBLogThreaded()
233 static struct timeval g_timeval = { 0 , 0 }; in _DNBLogThreadedIf()
234 static struct timeval tv; in _DNBLogThreadedIf()
235 static struct timeval delta; in _DNBLogThreadedIf()
DDNBTimer.h100 struct timeval now; in ElapsedMicroSeconds()
113 struct timeval now; in GetTimeOfDay()
124 struct timeval now;
160 struct timeval m_timeval;
/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 *));

12345678910>>...23