Home
last modified time | relevance | path

Searched refs:test_time (Results 1 – 25 of 47) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/select/
Dselect01.c65 long test_time = 0; /* in usecs */ in main() local
74 test_time = ((lc % 2000) * 100000); /* 100 milli-seconds */ in main()
76 if (test_time > 1000000 * 60) in main()
77 test_time = test_time % (1000000 * 60); in main()
79 timeout.tv_sec = test_time / 1000000; in main()
80 timeout.tv_usec = test_time - (timeout.tv_sec * 1000000); in main()
87 lc, test_time, errno); in main()
92 test_time); in main()
Dselect02.c64 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()
Dselect03.c68 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/
Ddut_status_unittest.py33 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/
Dwait_before_data.patch45 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 …]
Dnetperf2.py37 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/python/cpython3/Lib/test/libregrtest/
Druntest.py159 test_time = 0.0
183 test_time = time.perf_counter() - start_time
188 return RESOURCE_DENIED, test_time
192 return SKIPPED, test_time
202 return FAILED, test_time
204 return TEST_DID_NOT_RUN, test_time
210 return FAILED, test_time
213 return FAILED, test_time
215 return ENV_CHANGED, test_time
216 return PASSED, test_time
Druntest_mp.py199 ok, test_time, xml_data = result
202 and test_time >= PROGRESS_MIN_TIME
204 text += ' (%s)' % format_duration(test_time)
206 text = '%s (%s)' % (text, test_time)
Dmain.py109 ok, test_time, xml_data = result
111 self.test_times.append((test_time, test))
154 test_time = time.monotonic() - self.start_time
155 test_time = datetime.timedelta(seconds=int(test_time))
417 test_time = time.monotonic() - start_time
418 if test_time >= PROGRESS_MIN_TIME:
419 previous_test = "%s in %s" % (previous_test, format_duration(test_time))
/external/ltp/testcases/kernel/device-drivers/locking/
Dlock_torture.sh32 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/
Drcu_torture.sh33 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/
Dpower_StatsCPUIdle.py14 def run_once(self, test_time=60): argument
18 time.sleep(test_time)
23 test_time, current_stats)
Dcontrol19 job.run_test('power_StatsCPUIdle', test_time=60)
/external/autotest/client/site_tests/power_StatsUSB/
Dpower_StatsUSB.py14 def run_once(self, test_time=60): argument
23 time.sleep(test_time)
29 test_time, stats['active'])
/external/autotest/client/site_tests/power_StatsCPUFreq/
Dpower_StatsCPUFreq.py14 def run_once(self, test_time=60): argument
23 time.sleep(test_time)
29 test_time, current_stats)
/external/python/cpython2/Lib/test/
Dregrtest.py633 ok, test_time = result
635 test_times.append((test_time, test))
681 test_time = time.time() - regrtest_start_time
682 test_time = datetime.timedelta(seconds=int(test_time))
683 line = "%s %s" % (test_time, line)
831 ok, test_time = result
834 and test_time >= PROGRESS_MIN_TIME
836 text += ' (%s)' % format_duration(test_time)
900 test_time = time.time() - start_time
902 if test_time >= PROGRESS_MIN_TIME:
[all …]
/external/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir09.c79 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/grpc-grpc/tools/github/
Dpr_latency.py61 test_time, argument
71 pr, base_time, test_time, diff_time, successes, failures,
77 str(test_time),
78 str(int((test_time - base_time).total_seconds())),
/external/autotest/server/cros/network/
Dnetperf_runner.py456 def __init__(self, test_type, test_time=DEFAULT_TEST_TIME): argument
464 self.test_time = test_time
472 self.test_time)
554 self._config.test_time,
557 logging.info('Running netperf for %d seconds.', self._config.test_time)
558 timeout = self._config.test_time + self.NETPERF_COMMAND_TIMEOUT_MARGIN
Dconnection_worker.py274 if result.duration_seconds < self._config.test_time:
277 (result.duration_seconds, self._config.test_time))
/external/autotest/utils/
Dtest_importer.py276 test_time = { 'short' : 1,
300 test.test_time = int(data.time)
301 if test.test_time < 1 or test.time > 3:
306 if not test.test_time and str == type(data.time):
307 test.test_time = test_time[data.time.lower()]
/external/ltp/testcases/kernel/mem/mtest05/
Dmmstress.c637 int test_time = 0; in main() local
676 test_time = atoi(optarg)); in main()
696 set_timer(test_time); in main()
/external/e2fsprogs/tests/m_mmp_bad_magic/
Dexpect19 mmp_update_time: test_time
/external/e2fsprogs/tests/m_mmp_bad_csum/
Dexpect20 mmp_update_time: test_time
/external/linux-kselftest/tools/testing/selftests/x86/
Dtest_vsyscall.c267 static int test_time(void) { in test_time() function
494 nerrs += test_time(); in main()

12