/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
D | 8-1.c | 58 clock_t st_time, cur_time; in main() local 77 cur_time = times(&parent_tms); in main() 79 if (cur_time == (clock_t) - 1) in main() 81 } while ((cur_time - st_time) < sysconf(_SC_CLK_TCK)); in main() 87 (long)(cur_time - st_time), in main() 102 cur_time = times(&child_tms); in main() 104 if (cur_time == (clock_t) - 1) in main() 113 cur_time = times(&child_tms); in main() 115 if (cur_time == -1) in main() 133 cur_time = times(&parent_tms); in main() [all …]
|
/external/autotest/client/deps/lansim/src/py/ |
D | simulator.py | 204 cur_time = time.time() 208 while self._events and min(self._events) <= cur_time: 214 cur_time = time.time() 219 timeout = min(self._events) - cur_time # in seconds 360 cur_time = time.time() 361 start_time = cur_time 367 cur_timeout = timeout - (cur_time - start_time) 371 cur_time = time.time()
|
/external/blktrace/btt/ |
D | devs.c | 230 void dip_plug(__u32 dev, double cur_time) in dip_plug() argument 236 dip->last_plug = cur_time; in dip_plug() 240 static inline void unplug(struct d_info *dip, double cur_time) in unplug() argument 243 dip->plugged_time += (cur_time - dip->last_plug); in unplug() 246 void dip_unplug(__u32 dev, double cur_time, __u64 nios_up) in dip_unplug() argument 253 unplug(dip, cur_time); in dip_unplug() 257 void dip_unplug_tm(__u32 dev, double cur_time, __u64 nios_up) in dip_unplug_tm() argument 264 unplug(dip, cur_time); in dip_unplug_tm()
|
D | globals.h | 221 void dip_plug(__u32 dev, double cur_time); 222 void dip_unplug(__u32 dev, double cur_time, __u64 nio_ups); 223 void dip_unplug_tm(__u32 dev, double cur_time, __u64 nio_ups);
|
/external/ltp/testcases/kernel/controllers/cpuctl/ |
D | cpuctl_latency_check_task.c | 78 struct timeval prev_time, cur_time; in main() local 116 if (gettimeofday(&cur_time, NULL) == -1) in main() 120 actual_s = cur_time.tv_sec - prev_time.tv_sec; in main() 121 actual_us = cur_time.tv_usec - prev_time.tv_usec; in main()
|
/external/oj-libjdwp/src/share/back/ |
D | vmDebug.c | 93 jlong cur_time = milliTime(); in VMDebug_lastDebuggerActivity() local 95 if (cur_time < last_time) { in VMDebug_lastDebuggerActivity() 97 last_time, cur_time)); in VMDebug_lastDebuggerActivity() 100 jlong res = cur_time - last_time; in VMDebug_lastDebuggerActivity()
|
/external/ltp/lib/ |
D | tst_timer.c | 66 struct timespec cur_time; in tst_timer_expired_ms() local 68 if (tst_clock_gettime(clock_id, &cur_time)) in tst_timer_expired_ms() 71 return tst_timespec_diff_ms(cur_time, start_time) >= ms; in tst_timer_expired_ms()
|
/external/toolchain-utils/cros_utils/ |
D | timeline.py | 15 def __init__(self, name='', cur_time=0): argument 17 self.timestamp = cur_time 30 cur_event = Event(name=event, cur_time=time.time())
|
D | manifest_versions.py | 66 cur_time = time.mktime(time.gmtime()) 68 if cur_time - des_time > 7000000: 114 cur_time = time.mktime(time.gmtime()) 116 if cur_time - des_time > 7000000:
|
/external/ltp/testcases/kernel/fs/ext4-new-features/ext4-nsec-timestamps/ |
D | ext4_nsec_timestamps_test.sh | 91 cur_time=`date '+%s %N'` 92 sec=`echo $cur_time | awk {'print $1'}` 93 nsec=`echo $cur_time | awk {'print $2'}`
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_gpu_load.c | 119 int64_t cur_time, last_time = os_time_get(); in r600_gpu_load_thread() local 127 cur_time = os_time_get(); in r600_gpu_load_thread() 130 cur_time)) in r600_gpu_load_thread() 136 last_time = cur_time; in r600_gpu_load_thread()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | r600_gpu_load.c | 136 int64_t cur_time, last_time = os_time_get(); in r600_gpu_load_thread() local 144 cur_time = os_time_get(); in r600_gpu_load_thread() 147 cur_time)) in r600_gpu_load_thread() 153 last_time = cur_time; in r600_gpu_load_thread()
|
/external/perfetto/src/base/ |
D | time_unittest.cc | 59 auto cur_time = GetWallTimeNs(); in TEST() local 60 auto elapsed = cur_time - start_time; in TEST()
|
/external/libhevc/encoder/ |
D | osal_thread.c | 566 int cur_time; in osal_get_time() local 572 cur_time = time_val.tv_sec * 1000 + time_val.tv_nsec / 1000000; in osal_get_time() 573 return cur_time; in osal_get_time()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_xdp_noinline.c | 567 __u64 cur_time; in get_packet_dst() local 594 cur_time = bpf_ktime_get_ns(); in get_packet_dst() 595 if ((cur_time - conn_rate_stats->v2) >> 32 > 0xffFFFF) { in get_packet_dst() 597 conn_rate_stats->v2 = cur_time; in get_packet_dst() 604 new_dst_lru.atime = cur_time; in get_packet_dst() 618 __u64 cur_time; in connection_table_lookup() local 625 cur_time = bpf_ktime_get_ns(); in connection_table_lookup() 626 if (cur_time - dst_lru->atime > 300000) in connection_table_lookup() 628 dst_lru->atime = cur_time; in connection_table_lookup()
|
/external/webrtc/webrtc/base/ |
D | virtualsocketserver.cc | 794 uint32_t cur_time = Time(); in SendUdp() local 795 PurgeNetworkPackets(socket, cur_time); in SendUdp() 811 AddPacketToNetwork(socket, recipient, cur_time, data, data_size, in SendUdp() 834 uint32_t cur_time = Time(); in SendTcp() local 835 PurgeNetworkPackets(socket, cur_time); in SendTcp() 845 AddPacketToNetwork(socket, recipient, cur_time, &socket->send_buffer_[0], in SendTcp() 869 uint32_t cur_time, in AddPacketToNetwork() argument 879 entry.done_time = cur_time + send_delay; in AddPacketToNetwork() 909 uint32_t cur_time) { in PurgeNetworkPackets() argument 911 (socket->network_.front().done_time <= cur_time)) { in PurgeNetworkPackets()
|
D | virtualsocketserver.h | 171 uint32_t cur_time, 178 void PurgeNetworkPackets(VirtualSocket* socket, uint32_t cur_time);
|
D | virtualsocket_unittest.cc | 51 uint32_t cur_time = rtc::Time(); in OnMessage() local 52 uint32_t delay = cur_time - last_send; in OnMessage() 58 memcpy(dummy, &cur_time, sizeof(cur_time)); in OnMessage() 61 last_send = cur_time; in OnMessage()
|
/external/iputils/ |
D | ping_common.c | 30 struct timeval start_time, cur_time; variable 481 if (cur_time.tv_sec == 0) { in pinger() 482 gettimeofday(&cur_time, NULL); in pinger() 489 ntokens = (tv.tv_sec - cur_time.tv_sec)*1000 + in pinger() 490 (tv.tv_usec-cur_time.tv_usec)/1000; in pinger() 503 cur_time = tv; in pinger() 1012 struct timeval tv = cur_time; in finish()
|
D | ping_common.h | 148 extern struct timeval start_time, cur_time;
|
/external/mesa3d/src/gallium/state_trackers/wgl/ |
D | stw_framebuffer.c | 596 int64_t cur_time = os_time_get_nano() / 1000; in wait_swap_interval() local 600 int64_t delta = cur_time - fb->prev_swap_time; in wait_swap_interval() 615 fb->prev_swap_time = cur_time; in wait_swap_interval()
|
/external/autotest/client/cros/netprotos/ |
D | zeroconf.py | 168 cur_time = time.time() 192 rr_timeout = cur_time + rr.ttl
|
/external/tensorflow/tensorflow/core/grappler/costs/ |
D | virtual_scheduler_test.cc | 2342 int64 cur_time = static_cast<int64>(5000005); in TEST_F() local 2350 int64 expected_start = cur_time; in TEST_F() 2351 int64 expected_end = cur_time + increment; in TEST_F() 2354 cur_time += increment; in TEST_F()
|