/external/fio/ |
D | fio_time.h | 5 extern uint64_t utime_since(const struct timeval *,const struct timeval *); 6 extern uint64_t utime_since_now(const struct timeval *); 7 extern uint64_t mtime_since(const struct timeval *, const struct timeval *); 8 extern uint64_t mtime_since_now(const struct timeval *); 9 extern uint64_t time_since_now(const struct timeval *); 15 extern void fill_start_time(struct timeval *);
|
D | time.c | 6 static struct timeval genesis; 14 struct timeval start; in usec_spin() 27 struct timeval tv; in usec_sleep() 85 struct timeval tv; in ramp_time_over() 111 struct timeval tv; in fio_time_init() 132 void fill_start_time(struct timeval *t) in fill_start_time()
|
D | gettime.c | 142 static void __fio_gettime(struct timeval *tp) in __fio_gettime() 208 void fio_gettime(struct timeval *tp, void *caller) in fio_gettime() 210 void fio_gettime(struct timeval *tp, void fio_unused *caller) in fio_gettime() 228 struct timeval s, e; in get_cycles_per_usec() 384 uint64_t utime_since(const struct timeval *s, const struct timeval *e) in utime_since() 407 uint64_t utime_since_now(const struct timeval *s) in utime_since_now() 409 struct timeval t; in utime_since_now() 415 uint64_t mtime_since(const struct timeval *s, const struct timeval *e) in mtime_since() 436 uint64_t mtime_since_now(const struct timeval *s) in mtime_since_now() 438 struct timeval t; in mtime_since_now() [all …]
|
D | gettime.h | 16 extern void fio_gettime(struct timeval *, void *); 23 extern struct timeval *fio_tv; 25 static inline int fio_gettime_offload(struct timeval *tv) in fio_gettime_offload()
|
D | fio.h | 122 struct timeval bw_sample_time; 125 struct timeval iops_sample_time; 233 struct timeval lastrate[DDIR_RWDIR_CNT]; 261 struct timeval start; /* start of this loop */ 262 struct timeval epoch; /* time job was started */ 263 struct timeval last_issue; 265 struct timeval tv_cache; 266 struct timeval terminate_time; 274 struct timeval latency_ts;
|
D | gettime-thread.c | 9 struct timeval *fio_tv = NULL; 21 fio_tv = smalloc(sizeof(struct timeval)); in fio_gtod_init() 29 struct timeval __tv; in fio_gtod_update()
|
/external/toybox/toys/pending/ |
D | hwclock.c | 60 struct timeval timeval; in hwclock_main() local 102 if (gettimeofday(&timeval, 0) in hwclock_main() 103 || (TT.utc ? gmtime_r : localtime_r)(&timeval.tv_sec, &tm)) goto bad; in hwclock_main() 113 timeval.tv_sec = time; in hwclock_main() 114 timeval.tv_usec = 0; // todo: fixit in hwclock_main() 120 if (!TT.utc) timeval.tv_sec += tzone.tz_minuteswest * 60; in hwclock_main() 130 if (settimeofday(&timeval, &tzone)) goto bad; in hwclock_main()
|
/external/strace/ |
D | defs.h | 282 struct timeval stime; /* System time usage as of last process wait */ 283 struct timeval dtime; /* Delta for system time usage */ 284 struct timeval etime; /* Syscall entry time */ 452 extern void count_syscall(struct tcb *, const struct timeval *); 575 extern int tv_nz(const struct timeval *); 576 extern int tv_cmp(const struct timeval *, const struct timeval *); 577 extern double tv_float(const struct timeval *); 578 extern void tv_add(struct timeval *, const struct timeval *, const struct timeval *); 579 extern void tv_sub(struct timeval *, const struct timeval *, const struct timeval *); 580 extern void tv_mul(struct timeval *, const struct timeval *, int); [all …]
|
D | count.c | 41 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/ |
D | scantest.c | 44 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/boringssl/src/ssl/ |
D | d1_lib.c | 84 static void get_current_time(const SSL *ssl, struct timeval *out_clock); 174 int DTLSv1_get_timeout(const SSL *ssl, struct timeval *out) { in DTLSv1_get_timeout() 185 struct timeval timenow; in DTLSv1_get_timeout() 192 memset(out, 0, sizeof(struct timeval)); in DTLSv1_get_timeout() 197 memcpy(out, &ssl->d1->next_timeout, sizeof(struct timeval)); in DTLSv1_get_timeout() 208 memset(out, 0, sizeof(struct timeval)); in DTLSv1_get_timeout() 215 struct timeval timeleft; in dtls1_is_timer_expired() 242 memset(&s->d1->next_timeout, 0, sizeof(struct timeval)); in dtls1_stop_timer() 292 static void get_current_time(const SSL *ssl, struct timeval *out_clock) { in get_current_time()
|
/external/kernel-headers/original/uapi/linux/ |
D | elfcore.h | 55 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 */
|
D | time.h | 15 struct timeval { struct 40 struct timeval it_interval; /* timer interval */ argument 41 struct timeval it_value; /* current value */
|
/external/google-breakpad/src/common/android/include/sys/ |
D | procfs.h | 81 struct timeval pr_utime; 82 struct timeval pr_stime; 83 struct timeval pr_cutime; 84 struct timeval pr_cstime;
|
/external/libusb/libusb/ |
D | io.c | 1093 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/ |
D | ping_common.c | 30 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 …]
|
D | traceroute6.c | 295 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()
|
D | ping_common.h | 148 extern struct timeval start_time, cur_time; 201 static inline void tvsub(struct timeval *out, struct timeval *in) in tvsub() 281 extern int parse_reply(struct msghdr *msg, int len, void *addr, struct timeval *); 295 int csfailed, struct timeval *tv, char *from,
|
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
D | testlib.h | 67 int timeval_subtract(struct timeval *result, struct timeval *x, struct timeval *y);
|
/external/lldb/tools/debugserver/source/ |
D | DNBLog.cpp | 180 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()
|
D | DNBTimer.h | 100 struct timeval now; in ElapsedMicroSeconds() 113 struct timeval now; in GetTimeOfDay() 124 struct timeval now; 160 struct timeval m_timeval;
|
/external/netperf/ |
D | hist.h | 98 void HIST_timestamp(struct timeval *timestamp); 112 int delta_micro(struct timeval *begin, struct timeval *end);
|
/external/ipsec-tools/src/racoon/ |
D | misc.h | 50 struct timeval; 51 extern double timedelta __P((struct timeval *, struct timeval *));
|
/external/ltrace/ |
D | summary.c | 38 struct timeval tv; 49 struct timeval tv; 55 calc_time_spent(struct timeval start) in calc_time_spent() 57 struct timeval tv; in calc_time_spent() 60 struct timeval diff; in calc_time_spent()
|
/external/lldb/source/Host/common/ |
D | TimeValue.cpp | 45 TimeValue::TimeValue(const struct timeval& tv) : in TimeValue() 87 struct timeval 90 struct timeval tv; in GetAsTimeVal() 129 struct timeval tv; in Now()
|