/external/autotest/site_utils/ |
D | dut_status_unittests.py | 37 start_time = (arguments.until - duration * 3600) 38 assert arguments.since == start_time 63 start_time = end_time - 3600 64 start_time_string = time_utils.epoch_time_to_date_string(start_time) 67 assert arguments.since == start_time 101 start_time = int(time.time()) - 5 * 3600 102 start_time_string = time_utils.epoch_time_to_date_string(start_time) 103 end_time = start_time + 4 * 3600 107 assert arguments.since == start_time 113 start_time = int(time.time()) - 5 * 3600 [all …]
|
D | 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): 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 …]
|
D | host_history.py | 144 def get_results(start_time, end_time, hosts=None, board=None, pool=None, argument 164 assert start_time and end_time 165 start_time = time_utils.to_epoch_time(start_time) 167 assert start_time < end_time 169 return host_history_utils.get_report(t_start=start_time, t_end=end_time, 174 def get_history_details(start_time, end_time, hosts=None, board=None, argument 201 results = get_results(start_time=start_time, end_time=end_time, hosts=hosts, 246 start_time = t_now - 3600 * options.last 249 start_time = time_utils.to_epoch_time(options.start) 255 start_time=start_time, [all …]
|
D | status_history.py | 122 def __init__(self, start_time, end_time): argument 123 self.start_time = parse_time(start_time) 136 return self.start_time - other.start_time 171 def get_tasks(cls, afe, host_id, start_time, end_time): argument 187 query_start = time_utils.epoch_time_to_date_string(start_time) 252 def get_hqes(cls, afe, host_id, start_time, end_time): argument 268 query_start = time_utils.epoch_time_to_date_string(start_time) 272 start_time=query_start, 326 def get_host_history(cls, afe, hostname, start_time, end_time): argument 343 return cls(afe, afehost, start_time, end_time) [all …]
|
D | collect_host_stats.py | 26 def report_stats(board, pool, start_time, end_time, span): argument 38 history = host_history.get_history_details(start_time=start_time, 116 start_time = end_time - timedelta(hours=options.span).total_seconds() 118 (time_utils.epoch_time_to_date_string(start_time), 126 error = report_stats(board, pool, start_time, end_time,
|
D | balance_pools.py | 233 def __init__(self, afe, board, pool, start_time, end_time, argument 241 afe, start_time, end_time, use_freon) 247 def _get_hosts(self, afe, start_time, end_time, use_freon): argument 250 afe, start_time, end_time, 256 afe, start_time, end_time, 389 def _balance_board(arguments, afe, board, start_time, end_time): argument 404 start_time, end_time, use_freon=True) 406 start_time, end_time) 578 _balance_board(arguments, afe, board, start_time, end_time) 582 start_time = end_time - 24 * 60 * 60
|
/external/libchrome/dbus/ |
D | exported_object.cc | 96 const base::TimeTicks start_time = base::TimeTicks::Now(); in SendSignal() local 103 SendSignalInternal(start_time, signal_message); in SendSignal() 109 start_time, in SendSignal() 152 void ExportedObject::SendSignalInternal(base::TimeTicks start_time, in SendSignalInternal() argument 161 base::TimeTicks::Now() - start_time); in SendSignalInternal() 220 const base::TimeTicks start_time = base::TimeTicks::Now(); in HandleMessage() local 228 start_time)); in HandleMessage() 235 start_time, in HandleMessage() 246 base::TimeTicks start_time) { in RunMethod() argument 252 start_time, in RunMethod() [all …]
|
D | object_proxy.cc | 84 const base::TimeTicks start_time = base::TimeTicks::Now(); in CallMethodAndBlockWithErrorDetails() local 104 base::TimeTicks::Now() - start_time); in CallMethodAndBlockWithErrorDetails() 132 const base::TimeTicks start_time = base::TimeTicks::Now(); in CallMethodWithErrorCallback() local 142 start_time, in CallMethodWithErrorCallback() 160 start_time); in CallMethodWithErrorCallback() 244 start_time(in_start_time) { in OnPendingCallIsCompleteData() 254 base::TimeTicks start_time) { in StartAsyncMethodCall() argument 264 start_time, in StartAsyncMethodCall() 280 start_time); in StartAsyncMethodCall() 298 base::TimeTicks start_time) { in OnPendingCallIsComplete() argument [all …]
|
/external/tremolo/Tremolo/ |
D | misc.c | 62 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/chromium-trace/catapult/experimental/buildbot/ |
D | query.py | 37 'start_time': step.start_time, 42 'start_time': build.start_time, 58 start_time = time.time() 63 BUILD_COUNT, time.time() - start_time) 65 start_time = time.time() 67 logging.info('Wrote data in %2.2f seconds.', time.time() - start_time)
|
/external/bison/lib/ |
D | timevar.c | 148 struct timevar_time_def start_time; member 188 static struct timevar_time_def start_time; variable 307 timevar_accumulate (&stack->timevar->elapsed, &start_time, &now); 311 start_time = now; 353 timevar_accumulate (&popped->timevar->elapsed, &start_time, &now); 357 start_time = now; 390 get_time (&tv->start_time); 411 timevar_accumulate (&tv->elapsed, &tv->start_time, &now); 431 timevar_accumulate (elapsed, &tv->start_time, &now); 437 timevar_accumulate (elapsed, &start_time, &now); [all …]
|
/external/autotest/client/common_lib/cros/network/ |
D | iw_event_logger.py | 130 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/chromium-trace/catapult/dashboard/dashboard/ |
D | email_summary.py | 41 start_time = datetime.datetime.now() - datetime.timedelta(hours=24) 44 _SendSummaryEmail(sheriff_entity, start_time) 47 def _SendSummaryEmail(sheriff_entity, start_time): argument 55 anomalies = _RecentUntriagedAnomalies(sheriff_entity, start_time) 65 def _RecentUntriagedAnomalies(sheriff_entity, start_time): argument 69 anomaly.Anomaly.timestamp > start_time).fetch()
|
/external/autotest/server/cros/clique_lib/ |
D | clique_dut_control.py | 207 start_time="", 217 start_time="", 230 start_time="", 239 start_time = self.dut_obj.host.run("date '+%FT%T.%N%:z'").stdout 240 start_time = start_time.strip() 253 start_time=start_time, 288 start_time="", 308 start_time="", 328 start_time="", 488 start_time="", [all …]
|
/external/webrtc/webrtc/base/ |
D | timing.cc | 72 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/dynamic_suite/ |
D | job_status.py | 115 def _abort_jobs_if_timedout(afe, jobs, start_time, timeout_mins): argument 128 if datetime.datetime.utcnow() < (start_time + 139 start_time=None, wait_timeout_mins=None): argument 153 if not start_time: 154 start_time = datetime.datetime.utcnow() 157 if wait_timeout_mins and _abort_jobs_if_timedout(afe, jobs, start_time, 173 start_time=None, wait_timeout_mins=None): argument 187 if not start_time: 188 start_time = datetime.datetime.utcnow() 191 if wait_timeout_mins and _abort_jobs_if_timedout(afe, jobs, start_time, [all …]
|
/external/libmicrohttpd/src/testcurl/ |
D | test_post_loop.c | 459 static unsigned long long start_time; variable 487 start_time = now(); in main() 492 (double) 1000 * LOOPCOUNT / (now() - start_time + 1.0)); in main() 495 (double) 1000 * LOOPCOUNT / (now() - start_time + 1.0), in main() 497 start_time = now(); in main() 502 (double) 1000 * LOOPCOUNT / (now() - start_time + 1.0)); in main() 505 (double) 1000 * LOOPCOUNT / (now() - start_time + 1.0), in main() 507 start_time = now(); in main() 512 (double) 1000 * LOOPCOUNT / (now() - start_time + 1.0)); in main() 515 (double) 1000 * LOOPCOUNT / (now() - start_time + 1.0), in main() [all …]
|
/external/autotest/server/site_tests/buffet_PrivetSetupFlow/ |
D | buffet_PrivetSetupFlow.py | 73 start_time = time.time() 75 while time.time() - start_time < PRIVET_AP_STARTUP_TIMEOUT_SECONDS: 112 start_time = time.time() 113 while time.time() - start_time < PRIVET_MDNS_RECORD_TIMEOUT_SECONDS: 140 start_time = time.time() 142 while time.time() - start_time < PRIVET_CONNECT_TIMEOUT_SECONDS: 150 while time.time() - start_time < PRIVET_CONNECT_TIMEOUT_SECONDS: 157 while time.time() - start_time < PRIVET_CONNECT_TIMEOUT_SECONDS: 171 while time.time() - start_time < PRIVET_CONNECT_TIMEOUT_SECONDS:
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/ |
D | cwutil | 34 def stats(namespace, metric_name, dimensions=None, statistics="Average", start_time=None, end_time=… argument 56 if start_time: 57 start_time = _parse_time(start_time) 59 start_time = datetime.utcnow() - timedelta(days=1) 64 …for m in cw.get_metric_statistics(int(period), start_time, end_time, metric_name, namespace, stati…
|
/external/autotest/contrib/ |
D | compare_dut_perf.py | 83 start_time = input['start_time'] 90 time_started__gte=start_time, 103 started_on__gte=start_time, 185 start_time = end_time - datetime.timedelta(seconds=3600 * options.last) 187 start_time = time_utils.time_string_to_datetime(options.start) 195 print 'Start time: %s' % start_time 199 args.append({'start_time': start_time,
|
/external/autotest/utils/ |
D | site_check_dut_usage.py | 28 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/libweave/src/states/ |
D | state_change_queue_unittest.cc | 90 base::Time start_time = base::Time::Now(); in TEST_F() local 95 start_time, in TEST_F() 99 start_time + time_delta1, in TEST_F() 103 start_time + time_delta2, in TEST_F() 111 EXPECT_EQ(start_time + time_delta1, changes[0].timestamp); in TEST_F() 115 EXPECT_EQ(start_time + time_delta2, changes[1].timestamp); in TEST_F()
|
/external/webrtc/webrtc/modules/utility/source/ |
D | process_thread_impl_unittest.cc | 157 int64_t start_time = 0; in ProcessCallAfterAFewMs() local 160 .WillOnce(DoAll(SetTimestamp(&start_time), in ProcessCallAfterAFewMs() 179 ASSERT_GT(start_time, 0); in ProcessCallAfterAFewMs() 183 EXPECT_GE(called_time, start_time); in ProcessCallAfterAFewMs() 185 uint32_t diff = called_time - start_time; in ProcessCallAfterAFewMs() 256 int64_t start_time; in TEST() local 267 .WillOnce(DoAll(SetTimestamp(&start_time), in TEST() 287 EXPECT_GE(called_time, start_time); in TEST() 288 uint32_t diff = called_time - start_time; in TEST()
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/ |
D | trafficshaper_test.py | 36 def GetElapsedMs(start_time, end_time): argument 45 return int((float(end_time) - float(start_time)) * 1000) 162 start_time = self.timer() 169 return GetElapsedMs(start_time, read_time) 195 start_time = self.timer() 197 connect_time = GetElapsedMs(start_time, self.timer()) 242 start_time = self.timer() 246 return (GetElapsedMs(start_time, read_time),
|
/external/autotest/client/tests/wb_kupdate/ |
D | wb_kupdate.py | 75 def _needs_more_time(self, start_time, duration, _now=None): argument 89 time_diff = datetime.datetime.now() - start_time 91 time_diff = _now - start_time 139 def _wait_until_data_flushed(self, start_time, max_wait_time): argument 163 if not self._needs_more_time(start_time, max_wait_time): 168 return datetime.datetime.now() - start_time
|