Home
last modified time | relevance | path

Searched refs:start_time (Results 1 – 25 of 451) sorted by relevance

12345678910>>...19

/external/autotest/site_utils/
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): argument
138 return self[host_id].try_get(job_id, start_time, end_time)
141 def update(self, host_id, start_time, end_time): argument
148 search_start_time = start_time - TIME_BUFFER
161 def __init__(self, tasks=[], start_time=None, end_time=None): argument
[all …]
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 = int(self.test_time) - 5 * 3600
[all …]
/external/autotest/server/lib/
Dstatus_history.py140 def __init__(self, start_time, end_time): argument
141 self.start_time = parse_time(start_time)
154 return self.start_time - other.start_time
231 def get_tasks(cls, afe, host_id, start_time, end_time): argument
247 query_start = time_utils.epoch_time_to_date_string(start_time)
340 def get_hqes(cls, afe, host_id, start_time, end_time): argument
356 query_start = time_utils.epoch_time_to_date_string(start_time)
441 def get_host_history(cls, afe, hostname, start_time, end_time): argument
458 return cls(afe, afehost, start_time, end_time)
462 def get_multiple_histories(cls, afe, start_time, end_time, labels=()): argument
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dmemory_space_assignment.h145 int64 start_time,
150 virtual int64 PreferredEvictionEndTime(const Shape& shape, int64 start_time,
154 virtual void Begin(const HloUse& use, int64 start_time, int64 end_time) = 0;
167 virtual std::string ToNoCopyDebugString(const Shape& shape, int64 start_time,
193 bool CanAllocateInAlternateMemoryNoCopy(const Shape& shape, int64 start_time,
196 int64 PreferredEvictionEndTime(const Shape& shape, int64 start_time,
199 void Begin(const HloUse& use, int64 start_time, int64 end_time) override;
205 std::string ToNoCopyDebugString(const Shape& shape, int64 start_time,
229 bool CanAllocateInAlternateMemoryNoCopy(const Shape& shape, int64 start_time,
232 int64 PreferredEvictionEndTime(const Shape& shape, int64 start_time,
[all …]
Dmemory_space_assignment.cc100 const Shape& shape, int64 start_time, int64 end_time) const { in CanAllocateInAlternateMemoryNoCopy() argument
101 return end_time - start_time <= max_overlap_count_; in CanAllocateInAlternateMemoryNoCopy()
105 const Shape& shape, int64 start_time, int64 latest_end_time) const { in PreferredEvictionEndTime() argument
106 return std::min(start_time + min_overlap_count_, latest_end_time); in PreferredEvictionEndTime()
110 int64 start_time, in Begin() argument
113 current_prefetch_time_ = std::max(start_time, end_time_ - max_overlap_count_); in Begin()
131 const Shape& shape, int64 start_time, int64 end_time) const { in ToNoCopyDebugString() argument
132 return absl::StrCat("Overlapped HLOs = ", end_time - start_time); in ToNoCopyDebugString()
166 const Shape& shape, int64 start_time, int64 end_time) const { in CanAllocateInAlternateMemoryNoCopy() argument
172 GetLogicalIntervalElapsed(start_time, end_time); in CanAllocateInAlternateMemoryNoCopy()
[all …]
/external/grpc-grpc/src/python/grpcio_tests/tests/testing/
D_time_test.py50 start_time = self._time.time()
54 self.assertLessEqual(start_time + _QUANTUM, end_time)
57 start_time = self._time.time()
58 self._time.sleep_until(start_time + _QUANTUM)
61 self.assertLessEqual(start_time + _QUANTUM, end_time)
66 start_time = self._time.time()
72 self.assertLessEqual(start_time + _QUANTUM, call_times[0])
77 start_time = self._time.time()
83 self.assertLessEqual(start_time + _QUANTUM, call_times[0])
126 start_time = self._time.time()
[all …]
/external/libchrome/dbus/
Dexported_object.cc97 const base::TimeTicks start_time = base::TimeTicks::Now(); in SendSignal() local
104 SendSignalInternal(start_time, signal_message); in SendSignal()
110 start_time, in SendSignal()
153 void ExportedObject::SendSignalInternal(base::TimeTicks start_time, in SendSignalInternal() argument
162 base::TimeTicks::Now() - start_time); in SendSignalInternal()
223 const base::TimeTicks start_time = base::TimeTicks::Now(); in HandleMessage() local
229 std::move(method_call), start_time)); in HandleMessage()
236 start_time, in HandleMessage()
247 base::TimeTicks start_time) { in RunMethod() argument
253 start_time, in RunMethod()
[all …]
Dobject_proxy.cc147 const base::TimeTicks start_time = base::TimeTicks::Now(); in CallMethodAndBlockWithErrorDetails() local
167 base::TimeTicks::Now() - start_time); in CallMethodAndBlockWithErrorDetails()
196 const base::TimeTicks start_time = base::TimeTicks::Now(); in CallMethodWithErrorResponse() local
206 std::move(callback_holder), start_time, in CallMethodWithErrorResponse()
225 request_message, std::move(callback_holder), start_time); in CallMethodWithErrorResponse()
314 base::TimeTicks start_time) { in StartAsyncMethodCall() argument
321 std::move(callback_holder), start_time, in StartAsyncMethodCall()
343 start_time)), in StartAsyncMethodCall()
353 base::TimeTicks start_time, in OnPendingCallIsComplete() argument
371 std::move(callback_holder), start_time, response.get(), in OnPendingCallIsComplete()
[all …]
/external/grpc-grpc/src/python/grpcio_tests/tests/qps/
Dworker_server.py46 start_time = time.time()
47 yield self._get_server_status(start_time, start_time, port, cores)
51 status = self._get_server_status(start_time, end_time, port, cores)
53 start_time = end_time
57 def _get_server_status(self, start_time, end_time, port, cores): argument
59 elapsed_time = end_time - start_time
109 start_time = time.time()
119 yield self._get_client_status(start_time, end_time, qps_data)
124 status = self._get_client_status(start_time, end_time, qps_data)
127 start_time = time.time()
[all …]
/external/tremolo/Tremolo/
Dmisc.c62 long start_time=-1; variable
115 if(start_time==-1)start_time=(tv.tv_sec*1000)+(tv.tv_usec/1000); in _insert()
121 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000), in _insert()
124 -start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000), in _insert()
129 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000), in _insert()
131 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000), in _insert()
156 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000), in _ripremove()
158 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000), in _ripremove()
169 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000), in _ripremove()
171 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000), in _ripremove()
/external/tensorflow/tensorflow/core/profiler/internal/
Dtraceme_recorder_test.cc36 uint64 start_time = Env::Default()->NowNanos(); in TEST() local
37 uint64 end_time = start_time + kNanosInSec; in TEST()
39 TraceMeRecorder::Record({1, "before", start_time, end_time}); in TEST()
41 TraceMeRecorder::Record({2, "during1", start_time, end_time}); in TEST()
42 TraceMeRecorder::Record({3, "during2", start_time, end_time}); in TEST()
44 TraceMeRecorder::Record({4, "after", start_time, end_time}); in TEST()
82 uint64 start_time = Env::Default()->NowNanos(); in TEST() local
83 uint64 end_time = start_time + kNanosInSec; in TEST()
85 /*name=*/absl::StrCat(i), start_time, in TEST()
/external/ltp/lib/
Dtst_timer.c15 static struct timespec start_time, stop_time; variable
44 if (tst_clock_gettime(clk_id, &start_time)) { in tst_timer_check()
60 if (tst_clock_gettime(clock_id, &start_time)) in tst_timer_start()
71 return tst_timespec_diff_ms(cur_time, start_time) >= ms; in tst_timer_expired_ms()
82 return tst_timespec_diff(stop_time, start_time); in tst_timer_elapsed()
/external/autotest/client/common_lib/cros/network/
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/grpc-grpc/tools/profiling/latency_profile/
Dprofile_analyzer.py46 self.start_time = line['t']
65 line_item.end_time = line_item.start_time
72 self.top_line.start_time, line['t']))
79 SELF_TIME] = final_time_stamp - self.top_line.start_time
83 TIME_FROM_SCOPE_START] = line.start_time - self.top_line.start_time
95 start_time = self.lines[0].start_time
98 last_important = start_time
100 line.times[TIME_FROM_STACK_START] = line.start_time - start_time
103 TIME_FROM_LAST_IMPORTANT] = line.start_time - last_important
/external/autotest/client/site_tests/policy_PowerManagementIdleSettings/
Dpolicy_PowerManagementIdleSettings.py124 def elapsed_time(self, start_time): argument
130 return time.time() - start_time
229 start_time = time.time()
233 self.SCREEN_DIM_DELAY - self.elapsed_time(start_time))
235 dim_elapsed_time = self.elapsed_time(start_time)
243 self.SCREEN_OFF_DELAY - self.elapsed_time(start_time))
245 off_elapsed_time = self.elapsed_time(start_time)
259 - self.elapsed_time(start_time))
265 action_elapsed_time = self.elapsed_time(start_time)
/external/u-boot/arch/arm/mach-at91/
Dclock.c75 ulong start_time, tmp_time; in at91_upll_clk_enable() local
80 start_time = get_timer(0); in at91_upll_clk_enable()
84 if ((tmp_time - start_time) > EN_UPLL_TIMEOUT) { in at91_upll_clk_enable()
96 ulong start_time, tmp_time; in at91_upll_clk_disable() local
98 start_time = get_timer(0); in at91_upll_clk_disable()
102 if ((tmp_time - start_time) > EN_UPLL_TIMEOUT) { in at91_upll_clk_disable()
/external/linux-kselftest/tools/testing/selftests/timers/
Dalarmtimer-suspend.c54 struct timespec start_time; variable
105 delta_ns = timespec_sub(start_time, ts); in sigalarm()
150 clock_gettime(alarm_clock_id, &start_time); in main()
152 start_time.tv_sec, start_time.tv_nsec); in main()
154 its1.it_value = start_time; in main()
/external/tensorflow/tensorflow/python/client/
Dsession_benchmark.py61 start_time = time.time()
64 times.append(end_time - start_time)
89 start_time = time.time()
92 times.append(end_time - start_time)
118 start_time = time.time()
121 times.append(end_time - start_time)
144 start_time = time.time()
147 times.append(end_time - start_time)
171 start_time = time.time()
174 times.append(end_time - start_time)
/external/webrtc/webrtc/base/
Dtiming.cc72 double start_time = TimerNow(); in BusyWait() local
73 while (TimerNow() - start_time < period) { in BusyWait()
75 return TimerNow() - start_time; in BusyWait()
79 double start_time = TimerNow(); in IdleWait() local
110 return TimerNow() - start_time; in IdleWait()
/external/autotest/server/cros/clique_lib/
Dclique_dut_control.py205 start_time="",
215 start_time="",
228 start_time="",
237 start_time = self.dut_obj.host.run("date '+%FT%T.%N%:z'").stdout
238 start_time = start_time.strip()
251 start_time=start_time,
286 start_time="",
306 start_time="",
326 start_time="",
487 start_time="",
[all …]
/external/tensorflow/tensorflow/tools/test/
Drun_and_gather_logs_lib.py55 start_time, run_time, log_files): argument
75 results.start_time = start_time
170 start_time = time.time()
172 run_time = time.time() - start_time
182 start_time=int(start_time),
/external/u-boot/arch/arm/mach-at91/arm920t/
Dclock.c163 ulong start_time, tmp_time; in at91_pllb_clk_enable() local
165 start_time = get_timer(0); in at91_pllb_clk_enable()
169 if ((tmp_time - start_time) > EN_PLLB_TIMEOUT) { in at91_pllb_clk_enable()
181 ulong start_time, tmp_time; in at91_pllb_clk_disable() local
183 start_time = get_timer(0); in at91_pllb_clk_disable()
187 if ((tmp_time - start_time) > EN_PLLB_TIMEOUT) { in at91_pllb_clk_disable()
/external/tensorflow/tensorflow/core/profiler/internal/cpu/
Dhost_tracer_utils.cc48 event.start_time = start_event->start_time; in MakeCompleteEvents()
61 event->start_time = start_event->start_time; in MakeCompleteEvents()
82 xevent.SetTimestampNs(event.start_time); in ConvertCompleteEventsToXPlane()
/external/autotest/utils/
Dsite_check_dut_usage.py28 def __init__(self, start_time, end_time, label, hostname, list_hostnames): argument
41 self._start_time = start_time
158 start_time, end_time = args[1:3]
159 return (datetime.datetime.strptime(start_time, _DATE_FORMAT).date(),
176 start_time, end_time, label, hostname = parse_args(options, args, parser)
177 runner = CheckDutUsageRunner(start_time, end_time, label, hostname,
/external/libaom/libaom/aom_dsp/
Dgrain_table.c46 fscanf(file, "E %" PRId64 " %" PRId64 " %d %hd %d\n", &entry->start_time, in grain_table_entry_read()
140 fprintf(file, "E %" PRId64 " %" PRId64 " %d %d %d\n", entry->start_time, in grain_table_entry_write()
192 new_tail->start_time = time_stamp; in aom_film_grain_table_append()
197 t->tail->start_time = AOMMIN(t->tail->start_time, time_stamp); in aom_film_grain_table_append()
211 if (time_stamp >= entry->start_time && time_stamp < entry->end_time) { in aom_film_grain_table_lookup()
219 if (time_stamp <= entry->start_time && end_time >= entry->end_time) { in aom_film_grain_table_lookup()
227 } else if (time_stamp <= entry->start_time && in aom_film_grain_table_lookup()
229 entry->start_time = end_time; in aom_film_grain_table_lookup()
230 } else if (time_stamp > entry->start_time && in aom_film_grain_table_lookup()
237 new_entry->start_time = end_time; in aom_film_grain_table_lookup()

12345678910>>...19