/external/ltp/testcases/kernel/syscalls/select/ |
D | select01.c | 66 long test_time = 0; /* in usecs */ in main() local 75 test_time = ((lc % 2000) * 100000); /* 100 milli-seconds */ in main() 77 if (test_time > 1000000 * 60) in main() 78 test_time = test_time % (1000000 * 60); in main() 80 timeout.tv_sec = test_time / 1000000; in main() 81 timeout.tv_usec = test_time - (timeout.tv_sec * 1000000); in main() 88 lc, test_time, errno); in main() 93 test_time); in main()
|
D | select02.c | 64 long test_time = 0; /* in usecs */ in main() local 73 test_time = ((lc % 2000) * 100000); /* 100 milli-seconds */ in main() 75 if (test_time > 1000000 * 60) in main() 76 test_time = test_time % (1000000 * 60); in main() 78 timeout.tv_sec = test_time / 1000000; in main() 79 timeout.tv_usec = test_time - (timeout.tv_sec * 1000000); in main() 93 test_time); in main()
|
D | select03.c | 68 long test_time = 0; /* in usecs */ in main() local 78 test_time = ((lc % 2000) * 100000); /* 100 milli-seconds */ in main() 80 if (test_time > 1000000 * 60) in main() 81 test_time = test_time % (1000000 * 60); in main() 83 timeout.tv_sec = test_time / 1000000; in main() 84 timeout.tv_usec = test_time - (timeout.tv_sec * 1000000); in main() 98 test_time); in main()
|
/external/autotest/site_utils/ |
D | dut_status_unittest.py | 33 self.test_time = time.time() 36 with mock.patch('time.time', return_value=self.test_time): 48 end_time = int(self.test_time) 58 end_time = int(self.test_time) 71 end_time = int(self.test_time) - 3600 86 end_time = int(self.test_time) 93 start_time = int(self.test_time) - 5 * 3600 104 start_time = int(self.test_time) - 5 * 3600 115 end_time = int(self.test_time) - 5 * 3600 126 start_time = int(self.test_time) - 5 * 3600
|
/external/autotest/client/tests/netperf2/ |
D | wait_before_data.patch | 45 test_time = 0; 103 if (test_time) { 104 - tcp_stream_request->test_length = test_time; 105 + tcp_stream_request->test_length = test_time + wait_time_secs; 121 if (test_time) { 122 - tcp_rr_request->test_length = test_time; 123 + tcp_rr_request->test_length = test_time + wait_time_secs; 148 if (test_time) { 149 - udp_rr_request->test_length = test_time; 150 + udp_rr_request->test_length = test_time + wait_time_secs; [all …]
|
D | netperf2.py | 37 test_time = 15, stream_list = [1], test_specific_args = '', argument 66 self.test_time = test_time 96 test_time+300).rendezvous(*all) 104 self.client(server_ip, test, test_time, num_streams, 140 def client(self, server_ip, test, test_time, num_streams, argument 142 args = '-H %s -t %s -l %d' % (server_ip, test, test_time) 162 interval = max(1, test_time / 5) 174 out = utils.run_parallel(cmds, timeout=test_time + 500,
|
/external/ltp/testcases/kernel/device-drivers/locking/ |
D | lock_torture.sh | 32 test_time=60 42 t) test_time=$OPTARG ;; 70 est_time=$(echo "scale=2; $test_time * $TST_TOTAL / 60 " | bc) 75 tst_resm TINFO "$type: running $test_time sec..." 80 sleep $test_time
|
/external/ltp/testcases/kernel/device-drivers/rcu/ |
D | rcu_torture.sh | 33 test_time=60 45 t) test_time=$OPTARG ;; 81 est_time=`echo "scale=2; $test_time * $TST_TOTAL / 60 " | bc` 86 tst_resm TINFO "$type: running $test_time sec..." 97 sleep $test_time
|
/external/autotest/client/site_tests/power_StatsCPUIdle/ |
D | power_StatsCPUIdle.py | 14 def run_once(self, test_time=60): argument 18 time.sleep(test_time) 23 test_time, current_stats)
|
/external/autotest/client/site_tests/power_StatsCPUFreq/ |
D | power_StatsCPUFreq.py | 14 def run_once(self, test_time=60): argument 23 time.sleep(test_time) 29 test_time, current_stats)
|
/external/autotest/client/site_tests/power_StatsUSB/ |
D | power_StatsUSB.py | 14 def run_once(self, test_time=60): argument 23 time.sleep(test_time) 29 test_time, stats['active'])
|
/external/ltp/testcases/kernel/syscalls/mkdir/ |
D | mkdir09.c | 79 static int test_time = 5; variable 108 test_time = atoi(opt_test_time); in main() 179 if (test_time) { in runtest() 183 sleep(test_time); in runtest() 203 if (test_time) { in runtest() 204 sleep(test_time); in runtest()
|
/external/autotest/server/cros/network/ |
D | netperf_runner.py | 448 def __init__(self, test_type, test_time=DEFAULT_TEST_TIME): argument 456 self.test_time = test_time 464 self.test_time) 546 self._config.test_time, 549 logging.info('Running netperf for %d seconds.', self._config.test_time) 550 timeout = self._config.test_time + self.NETPERF_COMMAND_TIMEOUT_MARGIN
|
D | connection_worker.py | 274 if result.duration_seconds < self._config.test_time: 277 (result.duration_seconds, self._config.test_time))
|
/external/python/cpython2/Lib/test/ |
D | regrtest.py | 468 ok, test_time = result 469 test_times.append((test_time, test)) 922 test_time = 0.0 948 test_time = time.time() - start_time 955 return RESOURCE_DENIED, test_time 960 return SKIPPED, test_time 967 return FAILED, test_time 976 return FAILED, test_time 979 return FAILED, test_time 981 return ENV_CHANGED, test_time [all …]
|
/external/netperf/src/ |
D | nettest_unix.c | 379 if (test_time) { in send_stream_stream() 380 stream_stream_request->test_length = test_time; in send_stream_stream() 443 if (test_time) { in send_stream_stream() 447 start_timer(test_time); in send_stream_stream() 1187 if (test_time) { in send_stream_rr() 1188 stream_rr_request->test_length = test_time; in send_stream_rr() 1247 if (test_time) { in send_stream_rr() 1251 start_timer(test_time); in send_stream_rr() 1665 dg_stream_request->test_length = test_time; in send_dg_stream() 1706 start_timer(test_time); in send_dg_stream() [all …]
|
D | netsh.c | 148 test_time = 10, /* test ends by time */ variable 925 test_time = convert(optarg); in scan_cmd_line() 927 if (test_time < 0) { in scan_cmd_line() 928 test_bytes = -1 * test_time; in scan_cmd_line() 930 test_time = 0; in scan_cmd_line() 1319 test_time, in dump_globals()
|
D | nettest_bsd.c | 1916 if (test_time) { in send_tcp_stream() 1917 tcp_stream_request->test_length = test_time; in send_tcp_stream() 2011 if (test_time) { in send_tcp_stream() 2021 start_timer(test_time); in send_tcp_stream() 2635 if (test_time) { in send_tcp_maerts() 2636 tcp_maerts_request->test_length = test_time; in send_tcp_maerts() 2730 if (test_time) { in send_tcp_maerts() 2744 start_timer(test_time + PAD_TIME); in send_tcp_maerts() 2748 start_timer(test_time); in send_tcp_maerts() 3223 if (test_time) { in send_tcp_mss() [all …]
|
D | nettest_sdp.c | 379 if (test_time) { in send_sdp_stream() 380 sdp_stream_request->test_length = test_time; in send_sdp_stream() 464 if (test_time) { in send_sdp_stream() 474 start_timer(test_time); in send_sdp_stream() 1076 if (test_time) { in send_sdp_maerts() 1077 sdp_maerts_request->test_length = test_time; in send_sdp_maerts() 1161 if (test_time) { in send_sdp_maerts() 1175 start_timer(test_time + PAD_TIME); in send_sdp_maerts() 1179 start_timer(test_time); in send_sdp_maerts() 2486 if (test_time) { in send_sdp_rr() [all …]
|
D | nettest_dlpi.c | 592 if (test_time) { in send_dlpi_co_stream() 593 dlpi_co_stream_request->test_length = test_time; in send_dlpi_co_stream() 655 if (test_time) { in send_dlpi_co_stream() 659 start_timer(test_time); in send_dlpi_co_stream() 1486 if (test_time) { in send_dlpi_co_rr() 1487 dlpi_co_rr_request->test_length = test_time; in send_dlpi_co_rr() 1546 if (test_time) { in send_dlpi_co_rr() 1550 start_timer(test_time); in send_dlpi_co_rr() 2033 if (test_time) { in send_dlpi_cl_stream() 2034 dlpi_cl_stream_request->test_length = test_time; in send_dlpi_cl_stream() [all …]
|
D | nettest_xti.c | 736 if (test_time) { in send_xti_tcp_stream() 737 xti_tcp_stream_request->test_length = test_time; in send_xti_tcp_stream() 844 if (test_time) { in send_xti_tcp_stream() 854 start_timer(test_time); in send_xti_tcp_stream() 1934 if (test_time) { in send_xti_tcp_rr() 1935 xti_tcp_rr_request->test_length = test_time; in send_xti_tcp_rr() 2028 if (test_time) { in send_xti_tcp_rr() 2032 start_timer(test_time); in send_xti_tcp_rr() 2636 xti_udp_stream_request->test_length = test_time; in send_xti_udp_stream() 2724 if (test_time) { in send_xti_udp_stream() [all …]
|
D | nettest_sctp.c | 535 if (test_time) { in send_sctp_stream() 536 sctp_stream_request->test_length = test_time; in send_sctp_stream() 629 if (test_time) { in send_sctp_stream() 639 start_timer(test_time); in send_sctp_stream() 1658 if (test_time) { in send_sctp_stream_1toMany() 1659 sctp_stream_request->test_length = test_time; in send_sctp_stream_1toMany() 1767 if (test_time) { in send_sctp_stream_1toMany() 1777 start_timer(test_time); in send_sctp_stream_1toMany() 2754 if (test_time) { in send_sctp_rr() 2755 sctp_rr_request->test_length = test_time; in send_sctp_rr() [all …]
|
/external/autotest/utils/ |
D | test_importer.py | 278 test_time = { 'short' : 1, 302 test.test_time = int(data.time) 303 if test.test_time < 1 or test.time > 3: 308 if not test.test_time and str == type(data.time): 309 test.test_time = test_time[data.time.lower()]
|
/external/autotest/scheduler/ |
D | scheduler_models_unittest.py | 69 test_time = self.god.create_mock_function('time') 70 test_time.expect_call().and_return(33) 71 test_time.expect_call().and_return(34.01) 72 test_time.expect_call().and_return(34.99) 73 test_time.expect_call().and_return(35.01) 79 now_func=test_time) # time 33
|
/external/ltp/testcases/kernel/mem/mtest05/ |
D | mmstress.c | 637 int test_time = 0; in main() local 676 test_time = atoi(optarg)); in main() 696 set_timer(test_time); in main()
|