Home
last modified time | relevance | path

Searched refs:end_time (Results 1 – 25 of 221) sorted by relevance

123456789

/external/autotest/site_utils/
Ddut_status_unittest.py48 end_time = int(self.test_time)
50 self.assertEqual(arguments.until, end_time)
58 end_time = int(self.test_time)
59 start_time = end_time - 3600
63 self.assertEqual(arguments.until, end_time)
71 end_time = int(self.test_time) - 3600
72 end_time_string = time_utils.epoch_time_to_date_string(end_time)
75 self.assertEqual(arguments.until, end_time)
86 end_time = int(self.test_time)
88 self.assertEqual(arguments.until, end_time)
[all …]
Djob_history.py54 'end_time': self.end_time,
98 self.end_time = self.task.time_finished
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
149 search_end_time = end_time + TIME_BUFFER
161 def __init__(self, tasks=[], start_time=None, end_time=None): argument
[all …]
/external/autotest/server/lib/
Dstatus_history.py140 def __init__(self, start_time, end_time): argument
142 self.end_time = parse_time(end_time)
231 def get_tasks(cls, afe, host_id, start_time, end_time): argument
248 query_end = time_utils.epoch_time_to_date_string(end_time)
258 def get_status_task(cls, afe, host_id, end_time): argument
273 query_end = time_utils.epoch_time_to_date_string(end_time)
340 def get_hqes(cls, afe, host_id, start_time, end_time): argument
357 query_end = time_utils.epoch_time_to_date_string(end_time)
441 def get_host_history(cls, afe, hostname, start_time, end_time): argument
458 return cls(afe, afehost, start_time, end_time)
[all …]
/external/libaom/libaom/aom_dsp/
Dgrain_table.c47 &entry->end_time, &pars->apply_grain, &pars->random_seed, in grain_table_entry_read()
141 entry->end_time, pars->apply_grain, pars->random_seed, in grain_table_entry_write()
183 int64_t end_time, in aom_film_grain_table_append() argument
193 new_tail->end_time = end_time; in aom_film_grain_table_append()
196 t->tail->end_time = AOMMAX(t->tail->end_time, end_time); in aom_film_grain_table_append()
202 int64_t end_time, int erase, in aom_film_grain_table_lookup() argument
211 if (time_stamp >= entry->start_time && time_stamp < entry->end_time) { in aom_film_grain_table_lookup()
218 const int64_t entry_end_time = 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()
228 end_time < entry->end_time) { in aom_film_grain_table_lookup()
[all …]
Dgrain_table.h43 int64_t end_time; member
61 int64_t time_stamp, int64_t end_time,
73 int64_t end_time, int erase,
/external/grpc-grpc/src/python/grpcio_tests/tests/qps/
Dworker_server.py50 end_time = time.time()
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
58 end_time = time.time()
59 elapsed_time = end_time - start_time
118 end_time = time.time()
119 yield self._get_client_status(start_time, end_time, qps_data)
123 end_time = time.time()
124 status = self._get_client_status(start_time, end_time, qps_data)
[all …]
/external/autotest/client/tests/disktest/src/
Ddisktest.c135 void write_file(unsigned int end_time, int random_access) in write_file() argument
154 while(time(NULL) < end_time) { in write_file()
159 while(time(NULL) < end_time) in write_file()
167 void verify_file(unsigned int end_time, int random_access, int direct) in verify_file() argument
198 while(time(NULL) < end_time) { in verify_file()
205 while(time(NULL) < end_time) in verify_file()
247 time_t start_time, end_time; in main() local
354 end_time = time(NULL) + seconds; in main()
358 write_file(end_time, 0); in main()
362 write_file(end_time, 1); in main()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dmemory_space_assignment.h191 int64 end_time) const = 0;
200 int64 end_time,
217 virtual void Begin(const HloUse& use, int64 start_time, int64 end_time) = 0;
235 int64 end_time) const = 0;
270 int64 end_time) const override;
276 int64 end_time,
284 void Begin(const HloUse& use, int64 start_time, int64 end_time) override;
291 int64 end_time) const override;
315 int64 end_time) const override;
324 int64 end_time,
[all …]
Dmemory_space_assignment.cc322 const Shape& shape, int64 start_time, int64 end_time) const { in CanAllocateInAlternateMemoryNoCopy()
323 return end_time - start_time <= max_overlap_count_; in CanAllocateInAlternateMemoryNoCopy()
332 const Shape& shape, int64 start_time, int64 end_time, in LatestPrefetchStartTime() argument
334 return end_time - min_overlap_count_; in LatestPrefetchStartTime()
346 int64 end_time) { in Begin() argument
347 end_time_ = end_time; in Begin()
351 PreferredPrefetchStartTime(shape, start_time, end_time, end_time); in Begin()
369 const Shape& shape, int64 start_time, int64 end_time) const { in ToNoCopyDebugString()
370 return absl::StrCat("Overlapped HLOs = ", end_time - start_time); in ToNoCopyDebugString()
445 const Shape& shape, int64 start_time, int64 end_time) const { in CanAllocateInAlternateMemoryNoCopy()
[all …]
/external/tensorflow/tensorflow/core/profiler/internal/cpu/
Dtraceme_recorder_test.cc45 int64 end_time = start_time + SecondsToNanos(1); in TEST() local
47 TraceMeRecorder::Record({"before", start_time, end_time}); in TEST()
49 TraceMeRecorder::Record({"during1", start_time, end_time}); in TEST()
50 TraceMeRecorder::Record({"during2", start_time, end_time}); in TEST()
52 TraceMeRecorder::Record({"after", start_time, end_time}); in TEST()
85 int64 end_time = start_time + SecondsToNanos(1); in TEST() local
87 {/*name=*/absl::StrCat(j++), start_time, end_time}); in TEST()
Dtraceme_recorder.h59 bool IsComplete() const { return start_time > 0 && end_time > 0; } in IsComplete()
60 bool IsStart() const { return end_time < 0; } in IsStart()
64 if (IsStart()) return -end_time; in ActivityId()
71 int64 end_time; member
/external/tensorflow/tensorflow/python/client/
Dsession_benchmark.py63 end_time = time.time()
64 times.append(end_time - start_time)
91 end_time = time.time()
92 times.append(end_time - start_time)
120 end_time = time.time()
121 times.append(end_time - start_time)
146 end_time = time.time()
147 times.append(end_time - start_time)
173 end_time = time.time()
174 times.append(end_time - start_time)
/external/autotest/server/cros/clique_lib/
Dclique_dut_control.py206 end_time="")
216 end_time="")
229 end_time="")
241 end_time = self.dut_obj.host.run("date '+%FT%T.%N%:z'").stdout
242 end_time = end_time.strip()
252 end_time=end_time)
287 end_time="")
307 end_time="")
327 end_time="")
488 end_time="")
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/profiling/latency_profile/
Dprofile_analyzer.py47 self.end_time = None
65 line_item.end_time = line_item.start_time
74 assert self.top_line.end_time is None
75 self.top_line.end_time = final_time_stamp
84 line.times[TIME_TO_SCOPE_END] = final_time_stamp - line.end_time
96 end_time = self.lines[0].end_time
101 line.times[TIME_TO_STACK_END] = end_time - line.end_time
105 last_important = line.end_time
106 last_important = end_time
/external/grpc-grpc/tools/profiling/latency_profile/
Dprofile_analyzer.py47 self.end_time = None
65 line_item.end_time = line_item.start_time
74 assert self.top_line.end_time is None
75 self.top_line.end_time = final_time_stamp
84 line.times[TIME_TO_SCOPE_END] = final_time_stamp - line.end_time
96 end_time = self.lines[0].end_time
101 line.times[TIME_TO_STACK_END] = end_time - line.end_time
105 last_important = line.end_time
106 last_important = end_time
/external/autotest/utils/
Dsite_check_dut_usage.py28 def __init__(self, start_time, end_time, label, hostname, list_hostnames): argument
42 self._end_time = end_time
158 start_time, end_time = args[1:3]
160 datetime.datetime.strptime(end_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/libchrome/mojo/public/cpp/test_support/lib/
Dtest_utils.cc65 MojoTimeTicks end_time; in IterateAndReportPerf() local
72 end_time = GetTimeTicksNow(); in IterateAndReportPerf()
73 } while (end_time - start_time < kPerftestTimeMicroseconds); in IterateAndReportPerf()
76 1000000.0 * iterations / (end_time - start_time), in IterateAndReportPerf()
/external/protobuf/src/google/protobuf/stubs/
Dtime_test.cc95 int64 start_time, end_time; in TEST() local
97 ASSERT_TRUE(DateTimeToSeconds(end, &end_time)); in TEST()
98 EXPECT_EQ(315537897599LL, end_time - start_time); in TEST()
102 ASSERT_TRUE(SecondsToDateTime(end_time, &time)); in TEST()
104 EXPECT_EQ(end_time, seconds); in TEST()
219 int64 start_time, end_time; in TEST() local
221 ASSERT_TRUE(DateTimeToSeconds(end, &end_time)); in TEST()
224 EXPECT_EQ("9999-12-31T23:59:59Z", FormatTime(end_time, 0)); in TEST()
/external/llvm-project/lldb/test/API/commands/expression/timeout/
Dwait-a-while.cpp12 auto end_time = std::chrono::system_clock::now() + std::chrono::microseconds(microseconds); in wait_a_while() local
17 auto wait_time = end_time - std::chrono::system_clock::now(); in wait_a_while()
20 if (std::chrono::system_clock::now() > end_time) in wait_a_while()
/external/vboot_reference/tests/
Dtimer_utils.c13 clock_gettime(CLOCK_REALTIME, &ct->end_time); in StopTimer()
19 uint64_t end = ((uint64_t) ct->end_time.tv_sec * 1000000000 + in GetDurationMsecs()
20 (uint64_t) ct->end_time.tv_nsec); in GetDurationMsecs()
/external/igt-gpu-tools/benchmarks/
Dintel_upload_blit_large.c116 double start_time, end_time; in main() local
143 end_time = get_time_in_secs(); in main()
146 end_time - start_time, in main()
148 (end_time - start_time)); in main()
Dintel_upload_blit_large_gtt.c113 double start_time, end_time; in main() local
140 end_time = get_time_in_secs(); in main()
143 end_time - start_time, in main()
145 (end_time - start_time)); in main()
Dintel_upload_blit_large_map.c116 double start_time, end_time; in main() local
143 end_time = get_time_in_secs(); in main()
146 end_time - start_time, in main()
148 (end_time - start_time)); in main()
/external/llvm-project/lldb/test/API/test_runner/test/
Dinferior.py92 end_time = datetime.datetime.now() + datetime.timedelta(0, sleep_seconds)
94 print("sleep end time: {}".format(end_time))
97 while datetime.datetime.now() < end_time:
102 sleep_interval = end_time - datetime.datetime.now()
/external/autotest/client/site_tests/telemetry_AFDOGenerateClient/
Dtelemetry_AFDOGenerateClient.py111 end_time = time.time()
113 benchmark, end_time - start_time)
115 end_time = time.time()
117 benchmark, end_time - start_time, str(unk_exc))

123456789