/system/core/base/ |
properties.cpp | 119 const AbsTime& start_time) { 121 auto time_elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time); 136 const AbsTime& start_time) { 144 UpdateTimeSpec(ts, relative_timeout, start_time); 152 auto start_time = std::chrono::steady_clock::now(); local 153 const prop_info* pi = WaitForPropertyCreation(key, relative_timeout, start_time); 166 UpdateTimeSpec(ts, relative_timeout, start_time); 174 auto start_time = std::chrono::steady_clock::now(); local 175 return (WaitForPropertyCreation(key, relative_timeout, start_time) != nullptr);
|
/system/extras/boottime_tools/io_analysis/ |
check_io_trace.py | 35 def __init__(self, block_num, start_time, size): 37 self.start_time = start_time 74 start_time = int(float(match.group(1))*1000000) #us 99 event = RwEvent(block_num, start_time, size) 101 self.reads.append((start_time, event)) 105 self.writes.append((start_time, event)) 121 latency = end_time - event.start_time 124 print "start time,", event.start_time
|
check_verity.py | 56 def __init__(self, start_time, block_num, size): 58 self.start_time = start_time 68 self.io_latency = io_end_time - self.start_time 73 self.total_latency = finish_time - self.start_time
|
/external/autotest/client/common_lib/cros/tendo/ |
buffet_dbus_helper.py | 34 start_time = time.time() 35 while time.time() - start_time < 10:
|
peerd_config.py | 36 start_time = time.time() 37 while time.time() - start_time < timeout_seconds:
|
/external/autotest/server/site_tests/platform_RebootAfterUpdate/ |
platform_RebootAfterUpdate.py | 50 start_time = time.time() 52 reboot_duration = time.time() - start_time
|
/external/protobuf/src/google/protobuf/stubs/ |
time_test.cc | 95 int64 start_time, end_time; local 96 ASSERT_TRUE(DateTimeToSeconds(start, &start_time)); 98 EXPECT_EQ(315537897599LL, end_time - start_time); 99 ASSERT_TRUE(SecondsToDateTime(start_time, &time)); 101 EXPECT_EQ(start_time, seconds); 166 int64 start_time, end_time; local 167 ASSERT_TRUE(DateTimeToSeconds(start, &start_time)); 170 EXPECT_EQ("0001-01-01T00:00:00Z", FormatTime(start_time, 0));
|
/external/tensorflow/tensorflow/contrib/rnn/python/kernel_tests/ |
benchmarking.py | 39 start_time = time.time() 44 time_taken = (end_time - start_time) / num_runs
|
/external/toolchain-utils/cros_utils/ |
no_pseudo_terminal_test.py | 25 start_time = time.time() 26 while time.time() - start_time < self.STRACE_TIMEOUT:
|
/frameworks/base/cmds/statsd/tools/loadtest/ |
run_loadtest.sh | 52 start_time=$(date +%s) 91 echo "Completed loadtest in $((${end_time} - ${start_time})) seconds."
|
/system/connectivity/wificond/tests/integration/ |
binder_dispatcher.cpp | 63 steady_clock::time_point start_time = steady_clock::now(); local 68 convertDurationToMillis(start_time, steady_clock::now());
|
/system/tools/aidl/tests/ |
aidl_test_sentinel_searcher.cpp | 84 const time_t start_time = time(nullptr); local 88 if (time(nullptr) - start_time > timeout_seconds) {
|
/external/libchrome/dbus/ |
object_proxy.cc | 86 const base::TimeTicks start_time = base::TimeTicks::Now(); local 106 base::TimeTicks::Now() - start_time); 135 const base::TimeTicks start_time = base::TimeTicks::Now(); local 145 start_time, 163 start_time); 247 start_time(in_start_time) { 257 base::TimeTicks start_time) { 267 start_time, 283 start_time); 301 base::TimeTicks start_time) { 510 const base::TimeTicks start_time = base::TimeTicks::Now(); local 523 const base::TimeTicks start_time = base::TimeTicks::Now(); local [all...] |
/system/core/libcutils/tests/ |
sockets_test.cpp | 79 time_t start_time; local 84 start_time = time(nullptr); 86 EXPECT_LE(difftime(time(nullptr), start_time), 1.0); 90 start_time = time(nullptr); 92 EXPECT_LE(1.0, difftime(time(nullptr), start_time));
|
/external/autotest/server/cros/clique_lib/ |
clique_dut_control.py | 64 'error_reason', 'start_time', 'end_time' ]) 207 start_time="", 217 start_time="", 230 start_time="", 239 start_time = self.dut_obj.host.run("date '+%FT%T.%N%:z'").stdout 240 start_time = start_time.strip() 253 start_time=start_time, 288 start_time="" [all...] |
/external/libmicrohttpd/src/testcurl/ |
test_post_loop.c | 459 static unsigned long long start_time; variable 487 start_time = now(); 492 (double) 1000 * LOOPCOUNT / (now() - start_time + 1.0)); 495 (double) 1000 * LOOPCOUNT / (now() - start_time + 1.0), 497 start_time = now(); 502 (double) 1000 * LOOPCOUNT / (now() - start_time + 1.0)); 505 (double) 1000 * LOOPCOUNT / (now() - start_time + 1.0), 507 start_time = now(); 512 (double) 1000 * LOOPCOUNT / (now() - start_time + 1.0)); 515 (double) 1000 * LOOPCOUNT / (now() - start_time + 1.0) [all...] |
/external/autotest/server/cros/network/ |
wpa_cli_proxy.py | 163 start_time = time.time() 164 while time.time() - start_time < timeout_seconds: 165 duration = time.time() - start_time 170 duration = time.time() - start_time 279 start_time = time.time() 280 while time.time() - start_time < assoc_params.discovery_timeout: 281 assoc_result.discovery_time = time.time() - start_time
|
/external/autotest/server/lib/ |
suite_report.py | 43 def make_entry(entry_id, name, status, start_time, 50 @param start_time: A unix timestamp of the start of the event. 60 'start_time': start_time, 81 start_time = min(starts) if starts else None 83 return start_time, finish_time 109 start_time, finish_time = find_start_finish_times(statuses) 111 job.name.split('/')[-1], status, start_time, 147 hqe.start_time, finish_time=hqe.end_time, parent=parent) 207 if suite_entry['start_time'] and suite_entry['finish_time'] [all...] |
/external/tensorflow/tensorflow/core/platform/default/ |
test_benchmark.cc | 36 static int64 start_time = 0; member in namespace:tensorflow::testing 215 start_time = env->NowMicros(); 252 if (start_time == 0) start_time = env->NowMicros(); 255 if (start_time != 0) { 256 accum_time += (env->NowMicros() - start_time); 257 start_time = 0;
|
/cts/tools/dasm/src/java_cup/ |
emit.java | 247 long start_time = System.currentTimeMillis(); local 295 symbols_time = System.currentTimeMillis() - start_time; 309 long start_time = System.currentTimeMillis(); local 411 action_code_time = System.currentTimeMillis() - start_time; 424 long start_time = System.currentTimeMillis(); local 470 production_table_time = System.currentTimeMillis() - start_time; 490 long start_time = System.currentTimeMillis(); local 559 action_table_time = System.currentTimeMillis() - start_time; 575 long start_time = System.currentTimeMillis(); local 613 goto_table_time = System.currentTimeMillis() - start_time; 635 long start_time = System.currentTimeMillis(); local [all...] |
/external/autotest/client/site_tests/telemetry_AFDOGenerateClient/ |
telemetry_AFDOGenerateClient.py | 111 start_time = time.time() 119 benchmark, end_time - start_time) 123 benchmark, end_time - start_time, str(unk_exc))
|
/external/autotest/client/tests/wb_kupdate/ |
wb_kupdate_unittest.py | 28 # Obvious failure - since start_time < start_time + 1. 30 start_time=datetime.datetime.now(), 33 # Check if 1 minute has elapsed since start_time. 35 start_time=datetime.datetime.now(), 87 start_time=datetime.datetime.now(),
|
/external/ltp/testcases/kernel/sched/sched_stress/ |
sched_tc4.c | 113 clock_t start_time; /* start & stop times */ local 149 start_time = time((time_t *) & timer_info); 154 elapsed_time = (float)(stop_time - start_time) / 100.0;
|
/external/ltp/testcases/open_posix_testsuite/functional/threads/condvar/ |
pthread_cond_wait_1.c | 84 struct timespec start_time, current_time; local 97 clock_gettime(CLOCK_REALTIME, &start_time); 100 if (timediff(current_time, start_time) > RUNTIME)
|
pthread_cond_wait_2.c | 84 struct timespec start_time, current_time; local 97 clock_gettime(CLOCK_REALTIME, &start_time); 100 if (timediff(current_time, start_time) > RUNTIME)
|