/external/vboot_reference/tests/ |
timer_utils.c | 9 clock_gettime(CLOCK_REALTIME, &ct->start_time); 17 uint64_t start = ((uint64_t) ct->start_time.tv_sec * 1000000000 + 18 (uint64_t) ct->start_time.tv_nsec);
|
timer_utils.h | 14 struct timespec start_time; member in struct:ClockTimer
|
/frameworks/base/core/java/android/app/admin/ |
SecurityLogTags.logtags | 9 210005 security_app_process_start (process|3),(start_time|2|3),(uid|1),(pid|1),(seinfo|3),(sha256|3)
|
/external/autotest/site_utils/ |
dut_status_unittest.py | 43 start_time = (arguments.until - duration * 3600) 44 self.assertEqual(arguments.since, start_time) 59 start_time = end_time - 3600 60 start_time_string = time_utils.epoch_time_to_date_string(start_time) 64 self.assertEqual(arguments.since, start_time) 93 start_time = int(self.test_time) - 5 * 3600 94 start_time_string = time_utils.epoch_time_to_date_string(start_time) 95 end_time = start_time + 4 * 3600 99 self.assertEqual(arguments.since, start_time) 104 start_time = int(self.test_time) - 5 * 360 [all...] |
job_history.py | 53 'start_time': self.start_time, 97 self.start_time = self.task.time_started 99 if self.start_time and self.end_time: 100 self.time_used = (self.end_time - self.start_time).total_seconds() 109 (self.id, self.task.task, self.start_time, self.end_time, 125 def try_get(self, host_id, job_id, start_time, end_time): 130 @param start_time: Start time to search for special task. 138 return self[host_id].try_get(job_id, start_time, end_time) 141 def update(self, host_id, start_time, end_time) [all...] |
/external/tpm2/ |
ReadClock.c | 21 UINT64 start_time = _plat__ClockTimeFromStart(); local 27 while ((_plat__ClockTimeFromStart() - start_time) < 2)
|
/external/ltp/lib/ |
tst_timer.c | 30 static struct timespec start_time, stop_time; variable in typeref:struct:timespec 59 if (clock_gettime(clk_id, &start_time)) { 75 if (clock_gettime(clock_id, &start_time)) 87 return tst_timespec_diff(stop_time, start_time);
|
/tools/tradefederation/core/tests/res/testdata/ |
subprocess2.txt | 2 03-22 14:04:02 E/SubprocessResultsReporter: TEST_STARTED {"start_time":1489160957285,"className":"android.gesture.cts.GestureLibraryTest","testName":"testIsReadOnly"} 4 03-22 14:04:02 E/SubprocessResultsReporter: TEST_STARTED {"start_time":1489160957285,"className":"android.gesture.cts.GestureLibraryTest","testName":"testGetGestureEntries"} 5 03-22 14:04:02 E/SubprocessResultsReporter: TEST_STARTED {"start_time":1489160957285,"className":"android.gesture.cts.GestureLibraryTest","testName":"testGetGestures"} 8 03-22 14:04:02 E/SubprocessResultsReporter: TEST_STARTED {"start_time":1489160957285,"className":"android.gesture.cts.GestureLibraryTest","testName":"testRecognize"}
|
subprocess1.txt | 2 03-22 14:04:02 E/SubprocessResultsReporter: TEST_STARTED {"start_time":1489160957284,"className":"android.gesture.cts.GestureLibraryTest","testName":"testIsReadOnly"} 4 03-22 14:04:02 E/SubprocessResultsReporter: TEST_STARTED {"start_time":1489160957284,"className":"android.gesture.cts.GestureLibraryTest","testName":"testGetGestureEntries"} 7 03-22 14:04:02 E/SubprocessResultsReporter: TEST_STARTED {"start_time":1489160957284,"className":"android.gesture.cts.GestureLibraryTest","testName":"testGetGestures"} 10 03-22 14:04:02 E/SubprocessResultsReporter: TEST_STARTED {"start_time":1489160957285,"className":"android.gesture.cts.GestureLibraryTest","testName":"testRecognize"}
|
/external/autotest/client/tests/tracing_microbenchmark/src/ |
getuid_microbench.c | 27 struct timespec start_time, end_time, elapsed_time; local 43 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &start_time)) { 56 ts_subtract(&elapsed_time, &end_time, &start_time);
|
/frameworks/base/tests/AmSlam/src/test/amslam/ |
PongReceiver.java | 45 long start_time = intent.getLongExtra("start_time", 0); local 49 listener.onPingPongResponse(start_time, bounce_time, now, receiver);
|
/external/libchrome/dbus/ |
exported_object.cc | 96 const base::TimeTicks start_time = base::TimeTicks::Now(); local 103 SendSignalInternal(start_time, signal_message); 109 start_time, 152 void ExportedObject::SendSignalInternal(base::TimeTicks start_time, 161 base::TimeTicks::Now() - start_time); 218 const base::TimeTicks start_time = base::TimeTicks::Now(); local 226 start_time)); 233 start_time, 244 base::TimeTicks start_time) { 250 start_time, 267 OnMethodCompleted(std::move(method_call), std::move(response), start_time); local [all...] |
/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/linux-kselftest/tools/testing/selftests/timers/ |
alarmtimer-suspend.c | 65 struct timespec start_time; variable in typeref:struct:timespec 116 delta_ns = timespec_sub(start_time, ts); 161 clock_gettime(alarm_clock_id, &start_time); 163 start_time.tv_sec, start_time.tv_nsec); 165 its1.it_value = start_time;
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
KernelLogItem.java | 36 public static final String START_TIME = "START_TIME"; 43 START_TIME, STOP_TIME, EVENTS)); 54 setAttribute(START_TIME, Double.valueOf(0.0)); 63 return (Double) getAttribute(START_TIME); 70 setAttribute(START_TIME, time);
|
/external/libmojo/mojo/public/cpp/test_support/lib/ |
test_utils.cc | 83 const MojoTimeTicks start_time = GetTimeTicksNow(); local 92 } while (end_time - start_time < kPerftestTimeMicroseconds); 95 1000000.0 * iterations / (end_time - start_time),
|
/external/libmojo/mojo/public/cpp/bindings/tests/ |
bindings_perftest.cc | 109 const MojoTimeTicks start_time = MojoGetTimeTicksNow(); local 114 kIterations / MojoTicksToSeconds(end_time - start_time), 124 const MojoTimeTicks start_time = MojoGetTimeTicksNow(); local 129 kIterations / MojoTicksToSeconds(end_time - start_time),
|
/system/core/base/ |
properties.cpp | 115 const AbsTime& start_time) { 117 auto time_elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time); 132 const AbsTime& start_time) { 140 UpdateTimeSpec(ts, relative_timeout, start_time); 148 auto start_time = std::chrono::steady_clock::now(); local 149 const prop_info* pi = WaitForPropertyCreation(key, relative_timeout, start_time); 162 UpdateTimeSpec(ts, relative_timeout, start_time); 170 auto start_time = std::chrono::steady_clock::now(); local 171 return (WaitForPropertyCreation(key, relative_timeout, start_time) != nullptr);
|
/external/autotest/contrib/ |
find_suite_tasks.py | 48 name, hostname, job_status, job_url, gs_url, start_time, end_time 65 start_time = min(int(time_utils.to_epoch_time(s.test_started_time)) 71 start_time = None 75 if start_time is None or finish_time is None: 86 start_time, 99 'start_time': h.start_time, 121 name, hostname, job_status, job_url, gs_url, start_time, end_time, 130 key=lambda k: k['start_time']) 137 '%(gs_url)s %(start_time)s %(end_time)s' % e [all...] |
/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/tremolo/Tremolo/ |
misc.c | 62 long start_time=-1; variable 115 if(start_time==-1)start_time=(tv.tv_sec*1000)+(tv.tv_usec/1000); 121 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000), 124 -start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000), 129 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000), 131 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000), 156 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000), 158 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000), 169 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000) [all...] |
/art/test/149-suspend-all-stress/ |
suspend_all.cc | 34 const uint64_t start_time = NanoTime(); local 37 while (NanoTime() - start_time < MsToNs(10 * 1000)) {
|
/external/autotest/client/common_lib/cros/fake_device_server/ |
fake_gcd_helper.py | 40 start_time = time.time() 41 while time.time() - start_time < timeout_seconds:
|
/external/autotest/client/site_tests/platform_Pkcs11InitOnLogin/ |
platform_Pkcs11InitOnLogin.py | 17 start_time = time.time() 23 { 'seconds_pkcs11_onlogin_init': end_time - start_time } )
|
/external/autotest/server/site_tests/platform_InstallRecoveryImage/ |
platform_InstallRecoveryImage.py | 23 start_time = time.time() 27 '%d seconds.', time.time() - start_time)
|