Searched refs:start_time (Results 1 - 25 of 301) sorted by relevance

1234567891011>>

/external/tpm2/
H A DReadClock.c21 UINT64 start_time = _plat__ClockTimeFromStart(); local
27 while ((_plat__ClockTimeFromStart() - start_time) < 2)
/external/vboot_reference/tests/
H A Dtimer_utils.c9 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);
H A Dtimer_utils.h14 struct timespec start_time; member in struct:ClockTimer
/external/ltp/lib/
H A Dtst_timer.c30 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);
/external/autotest/site_utils/
H A Ddut_status_unittest.py43 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
[all...]
H A Djob_history.py53 '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_tim
[all...]
/external/webrtc/webrtc/base/
H A Dtiming.cc72 double start_time = TimerNow(); local
73 while (TimerNow() - start_time < period) {
75 return TimerNow() - start_time;
79 double start_time = TimerNow(); local
110 return TimerNow() - start_time;
/external/autotest/server/site_tests/platform_InstallRecoveryImage/
H A Dplatform_InstallRecoveryImage.py23 start_time = time.time()
27 '%d seconds.', time.time() - start_time)
/external/autotest/client/common_lib/cros/network/
H A Diw_event_logger.py130 start_time = None
136 start_time is None):
137 start_time = entry.timestamp
143 start_time is None):
144 start_time = entry.timestamp
146 if start_time is None:
152 return end_time - start_time
/external/libchrome/dbus/
H A Dexported_object.cc96 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, argument
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,
242 RunMethod(MethodCallCallback method_call_callback, std::unique_ptr<MethodCall> method_call, base::TimeTicks start_time) argument
254 SendResponse(base::TimeTicks start_time, std::unique_ptr<MethodCall> method_call, std::unique_ptr<Response> response) argument
267 OnMethodCompleted(std::move(method_call), std::move(response), start_time); local
271 OnMethodCompleted(std::unique_ptr<MethodCall> method_call, std::unique_ptr<Response> response, base::TimeTicks start_time) argument
[all...]
/external/linux-kselftest/tools/testing/selftests/timers/
H A Dalarmtimer-suspend.c65 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;
/external/autotest/client/common_lib/cros/fake_device_server/
H A Dfake_gcd_helper.py40 start_time = time.time()
41 while time.time() - start_time < timeout_seconds:
/external/autotest/client/common_lib/
H A Dprocess_utils.py30 start_time = time.time()
32 time.time() - start_time < timeout_seconds):
/external/autotest/client/site_tests/hardware_TPMtspi/
H A Dhardware_TPMtspi.py30 start_time = datetime.datetime.now()
71 smogcheck_util.computeTimeElapsed(end_time, start_time)
/external/autotest/client/site_tests/platform_Pkcs11InitOnLogin/
H A Dplatform_Pkcs11InitOnLogin.py17 start_time = time.time()
23 { 'seconds_pkcs11_onlogin_init': end_time - start_time } )
/external/toolchain-utils/cros_utils/
H A Dlocks.py15 start_time = time.time()
24 if time.time() - start_time > timeout:
/external/autotest/server/lib/
H A Dstatus_history.py97 @property start_time Time the job or task began execution.
147 def __init__(self, start_time, end_time):
148 self.start_time = parse_time(start_time)
161 return self.start_time - other.start_time
238 def get_tasks(cls, afe, host_id, start_time, end_time):
248 @param start_time Start time of the range of interest.
254 query_start = time_utils.epoch_time_to_date_string(start_time)
358 def get_hqes(cls, afe, host_id, start_time, end_tim
[all...]
/external/ltp/testcases/kernel/sched/sched_stress/
H A Dsched_tc0.c104 long start_time; /* time at start of testcase */ local
141 start_time = time(NULL);
145 while ((time(NULL) - start_time) < execution_time) {
149 execution_time - (time(NULL) - start_time));
/external/autotest/client/site_tests/desktopui_Respawn/
H A Ddesktopui_Respawn.py51 start_time = time.time()
57 start_time += timeout_seconds
60 attempt, time.time() - start_time)
/external/autotest/client/site_tests/network_DefaultProfileCreation/
H A Dnetwork_DefaultProfileCreation.py55 start_time = time.time()
57 while time.time() - start_time < self.PROFILE_LOAD_TIMEOUT_SECONDS:
76 time.time() - start_time, profile)
/external/autotest/client/tests/tracing_microbenchmark/src/
H A Dgetuid_microbench.c27 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);
/external/icu/icu4c/source/test/perf/ucnvavailperf/
H A Ducnvavailperf.cpp119 UTimer start_time; local
120 utimer_getTime(&start_time);
123 double elapsed = utimer_getElapsedSeconds(&start_time);
/external/libmojo/mojo/public/cpp/test_support/lib/
H A Dtest_utils.cc83 const MojoTimeTicks start_time = GetTimeTicksNow(); local
92 } while (end_time - start_time < kPerftestTimeMicroseconds);
95 1000000.0 * iterations / (end_time - start_time),
/external/ltp/tools/pounder21/src/time_tests/
H A Ddrift-test.py63 start_time = time.localtime(time.time()) variable
64 datestr = time.strftime("%d %b %Y %H:%M:%S", start_time)
79 delta_time = time.mktime(now_time) - time.mktime(start_time)
/external/vixl/tools/
H A Dthreaded_tests.py71 start_time = None variable
93 printer.UpdateProgress(start_time,
122 global start_time
135 start_time = time.time()
152 printer.UpdateProgress(start_time,

Completed in 1355 milliseconds

1234567891011>>