/external/autotest/site_utils/ |
D | dut_status_unittest.py | 48 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 …]
|
D | job_history.py | 54 '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 …]
|
D | balance_pools.py | 190 def __init__(self, afe, pool, labels, start_time, end_time): argument 199 self.total_hosts = self._get_hosts(afe, start_time, end_time) 202 def _get_hosts(self, afe, start_time, end_time): argument 204 afe, start_time, end_time, self.labels.getlabels()) 374 def _balance_model(arguments, afe, pool, labels, start_time, end_time): argument 388 spare_pool = _DUTPool(afe, arguments.spare, labels, start_time, end_time) 389 main_pool = _DUTPool(afe, pool, labels, start_time, end_time) 669 end_time = time.time() 670 start_time = end_time - 24 * 60 * 60 681 start_time, end_time)
|
/external/autotest/server/lib/ |
D | status_history.py | 132 def __init__(self, start_time, end_time): argument 134 self.end_time = parse_time(end_time) 223 def get_tasks(cls, afe, host_id, start_time, end_time): argument 240 query_end = time_utils.epoch_time_to_date_string(end_time) 250 def get_status_task(cls, afe, host_id, end_time): argument 265 query_end = time_utils.epoch_time_to_date_string(end_time) 332 def get_hqes(cls, afe, host_id, start_time, end_time): argument 349 query_end = time_utils.epoch_time_to_date_string(end_time) 433 def get_host_history(cls, afe, hostname, start_time, end_time): argument 450 return cls(afe, afehost, start_time, end_time) [all …]
|
/external/libaom/libaom/aom_dsp/ |
D | grain_table.c | 47 &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 …]
|
D | grain_table.h | 43 int64_t end_time; member 61 int64_t time_stamp, int64_t end_time, 73 int64_t end_time, int erase,
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | traceme_recorder_test.cc | 35 uint64 end_time = start_time + kNanosInSec; in TEST() local 37 TraceMeRecorder::Record({1, "before", start_time, end_time}); in TEST() 39 TraceMeRecorder::Record({2, "during1", start_time, end_time}); in TEST() 40 TraceMeRecorder::Record({3, "during2", start_time, end_time}); in TEST() 42 TraceMeRecorder::Record({4, "after", start_time, end_time}); in TEST() 51 uint64 end_time = start_time + kNanosInSec; in TEST() local 53 TraceMeRecorder::Record({1, "ignored", start_time, end_time}); in TEST() 55 TraceMeRecorder::Record({2, "during1", start_time, end_time}); in TEST() 56 TraceMeRecorder::Record({3, "during2", start_time, end_time}); in TEST() 58 TraceMeRecorder::Record({4, "after_collect", start_time, end_time}); in TEST() [all …]
|
/external/grpc-grpc/src/python/grpcio_tests/tests/qps/ |
D | worker_server.py | 50 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/ |
D | disktest.c | 135 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/python/client/ |
D | session_benchmark.py | 63 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/ |
D | clique_dut_control.py | 208 end_time="") 218 end_time="") 231 end_time="") 243 end_time = self.dut_obj.host.run("date '+%FT%T.%N%:z'").stdout 244 end_time = end_time.strip() 254 end_time=end_time) 289 end_time="") 309 end_time="") 329 end_time="") 489 end_time="") [all …]
|
/external/grpc-grpc/tools/profiling/latency_profile/ |
D | profile_analyzer.py | 47 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/protobuf/src/google/protobuf/stubs/ |
D | time_test.cc | 95 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() 166 int64 start_time, end_time; in TEST() local 168 ASSERT_TRUE(DateTimeToSeconds(end, &end_time)); in TEST() 171 EXPECT_EQ("9999-12-31T23:59:59Z", FormatTime(end_time, 0)); in TEST()
|
/external/tensorflow/tensorflow/core/profiler/internal/cpu/ |
D | host_tracer.cc | 74 if (event.end_time && !event.start_time) { in CollectDataToCollector() 75 end_times.emplace(event.activity_id, event.end_time); in CollectDataToCollector() 85 if (!event.end_time) { in CollectDataToCollector() 87 if (it != end_times.end()) event.end_time = it->second; in CollectDataToCollector() 89 if (event.start_time && event.end_time) { in CollectDataToCollector() 105 ns->set_all_end_rel_micros((event.end_time - event.start_time) / in CollectDataToCollector()
|
/external/autotest/utils/ |
D | site_check_dut_usage.py | 28 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/ |
D | test_utils.cc | 65 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/autotest/contrib/ |
D | compare_suite.py | 91 self.end_time = _get_timestamp(lines[-1]) 93 if self.end_time < self.start_time: 94 self.end_time = self.end_time.replace(year=self.end_time.year+1) 95 self.time_used = self.end_time - self.start_time 103 else self.end_time) 127 self.end_time = self.tko_job.finished_time 128 self.time_used = self.end_time - self.start_time 187 end = self.end_time 346 suite_job_runtime.end_time)
|
/external/autotest/client/site_tests/telemetry_AFDOGenerateClient/ |
D | telemetry_AFDOGenerateClient.py | 111 end_time = time.time() 113 benchmark, end_time - start_time) 115 end_time = time.time() 117 benchmark, end_time - start_time, str(unk_exc))
|
/external/vboot_reference/tests/ |
D | timer_utils.c | 13 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/autotest/client/site_tests/graphics_WebGLAquarium/ |
D | sampler.py | 167 def end_last_fb_state(self, pipe, fb, end_time): argument 174 self.get_frame_buffer(pipe, fb).end_state(end_time) 239 def end_state(self, end_time): argument 245 self.states[self.active_state].end(end_time) 275 def end(self, end_time): argument 281 self.duration_data.append(end_time - self.last_start_time)
|
/external/grpc-grpc/src/cpp/server/load_reporter/ |
D | load_reporter.h | 172 std::chrono::system_clock::time_point end_time; member 179 const std::chrono::system_clock::time_point& end_time, uint64_t rpcs, in LoadBalancingFeedbackRecord() 181 : end_time(end_time), in LoadBalancingFeedbackRecord() 203 return record.end_time > now - feedback_sample_window_seconds_; in IsRecordInWindow()
|
/external/webrtc/webrtc/modules/video_coding/ |
D | receiver_unittest.cc | 341 int64_t end_time = start_time + microseconds; in AdvanceTimeMicroseconds() local 344 timestamps_.front().arrive_time <= end_time) { in AdvanceTimeMicroseconds() 357 if (TimeInMicroseconds() < end_time) { in AdvanceTimeMicroseconds() 358 SimulatedClock::AdvanceTimeMicroseconds(end_time - TimeInMicroseconds()); in AdvanceTimeMicroseconds() 502 int64_t end_time = clock_.TimeInMilliseconds(); in TEST_F() local 513 EXPECT_GE(kMaxWaitTime, end_time - start_time); in TEST_F() 515 EXPECT_EQ(kMaxWaitTime, end_time - start_time); in TEST_F() 563 int64_t end_time = clock_.TimeInMilliseconds(); in TEST_F() local 566 end_time); in TEST_F() 570 EXPECT_EQ(kMaxWaitTime, end_time - start_time); in TEST_F()
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | bindings_perftest.cc | 114 const MojoTimeTicks end_time = MojoGetTimeTicksNow(); in TEST_F() local 117 kIterations / MojoTicksToSeconds(end_time - start_time), in TEST_F() 129 const MojoTimeTicks end_time = MojoGetTimeTicksNow(); in TEST_F() local 132 kIterations / MojoTicksToSeconds(end_time - start_time), in TEST_F() 271 base::TimeTicks end_time = base::TimeTicks::Now(); in TEST_F() local 272 base::TimeDelta duration = end_time - start_time; in TEST_F()
|
/external/autotest/server/site_tests/network_StressServoEthernetPlug/ |
D | network_StressServoEthernetPlug.py | 25 end_time = time.time() + TIMEOUT 26 while time.time() < end_time: 91 end_time = time.time() + timeout 93 while time.time() < end_time:
|
/external/autotest/client/tests/tracing_microbenchmark/src/ |
D | getuid_microbench.c | 27 struct timespec start_time, end_time, elapsed_time; in main() local 51 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &end_time)) { in main() 56 ts_subtract(&elapsed_time, &end_time, &start_time); in main()
|