Home
last modified time | relevance | path

Searched refs:total_seconds (Results 1 – 25 of 57) sorted by relevance

123

/external/autotest/client/cros/video/
Dsequence_generator.py33 start_total_ms = int(start.total_seconds() * 1000)
34 stop_total_ms = int(stop.total_seconds() * 1000)
67 start_total_s = int(start.total_seconds())
69 stop_total_s = int(stop.total_seconds())
Dvimeo_player.py42 int(t.total_seconds())))
Dnative_html5_player.py99 cmd = '%s.currentTime=%.3f' % (self.video_id, t.total_seconds())
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/xds_k8s_test_driver/framework/helpers/
Dretryers.py50 wait=_wait_exponential(min=wait_min.total_seconds(),
51 max=wait_max.total_seconds()),
52 stop=_stop_after_delay(timeout.total_seconds()),
/external/python/apitools/apitools/base/protorpclite/
Dmessage_types.py102 time_zone_offset = util.total_seconds(
112 message.milliseconds = int(util.total_seconds(delta) * 1000)
117 util.total_seconds(value.tzinfo.utcoffset(value)) / 60)
Dutil.py197 def total_seconds(offset): function
216 offset = total_seconds(offset) / 60
/external/python/cpython3/Tools/peg_generator/scripts/
Dtest_parse_directory.py141 def generate_time_stats(files, total_seconds) -> None: argument
155 if total_seconds > 0:
183 total_seconds = 0
195 total_seconds += dt
211 generate_time_stats(files, total_seconds)
/external/autotest/client/site_tests/network_WiFiResume/
Dnetwork_WiFiResume.py60 (dev, int(delay.total_seconds()*1000)))
69 (dev, int(delay.total_seconds()*1000)))
/external/libchrome/base/i18n/
Dtime_formatting.cc225 const int64_t total_seconds = static_cast<int>(time.InSecondsF() + 0.5); in TimeDurationFormatWithSeconds() local
226 const int hours = total_seconds / 3600; in TimeDurationFormatWithSeconds()
227 const int minutes = (total_seconds - hours * 3600) / 60; in TimeDurationFormatWithSeconds()
228 const int seconds = total_seconds % 60; in TimeDurationFormatWithSeconds()
/external/perfetto/infra/ci/controller/
Dcontroller.py275 age_sec = (datetime.utcnow() - t_queued).total_seconds()
408 age = (datetime.now() - time_started).total_seconds()
449 'v': int((t_ended - t_queued).total_seconds())
465 'v': int((t_started - t_queued).total_seconds())
474 'v': int((t_ended - t_started).total_seconds())
/external/rust/crates/grpcio-sys/grpc/tools/github/
Dpr_latency.py78 str(int((test_time - base_time).total_seconds())),
90 return str((dt - datetime(1970, 1, 1)).total_seconds())
/external/autotest/server/site_tests/platform_SuspendResumeTiming/
Dplatform_SuspendResumeTiming.py92 time_to_susp = (suspend_end - suspend_start).total_seconds()
93 time_to_res = (resume_end - resume_start).total_seconds()
/external/grpc-grpc/tools/github/
Dpr_latency.py78 str(int((test_time - base_time).total_seconds())),
90 return str((dt - datetime(1970, 1, 1)).total_seconds())
/external/grpc-grpc/tools/run_tests/
Drun_build_statistics.py142 'duration': matrix.get_duration().total_seconds()
245 build_result['duration'] = build.get_duration().total_seconds()
/external/autotest/site_utils/
Djob_history.py100 self.time_used = (self.end_time - self.start_time).total_seconds()
223 self.time_used = (self.end_time - self.start_time).total_seconds()
343 self.time_used = (self.end_time - self.start_time).total_seconds()
/external/python/dateutil/dateutil/test/property/
Dtest_isoparse_prop.py21 assume(dt.utcoffset().total_seconds() % 60 == 0)
/external/autotest/client/common_lib/
Dtime_utils.py127 return (utc_datetime - epoch).total_seconds()
/external/llvm-project/lldb/test/API/test_runner/test/
Dinferior.py103 sleep_seconds = sleep_interval.total_seconds()
/external/chromium-trace/catapult/common/lab/
Dcommits.py87 commit_durations.append((time1 - time2).total_seconds() / 60.)
/external/autotest/server/site_tests/moblab_RunSuite/
Dmoblab_RunSuite.py107 elasped_m = self.elapsed.total_seconds() / 60
/external/python/pybind11/docs/
Dbenchmark.py89 elapsed = (n2 - n1).total_seconds()
/external/python/dateutil/dateutil/tz/
D_factories.py31 key = (name, offset.total_seconds())
/external/rust/crates/grpcio-sys/grpc/tools/distrib/python/grpc_prefixed/
Dgenerate.py41 POPEN_TIMEOUT_S = datetime.timedelta(minutes=1).total_seconds()
/external/autotest/server/cros/cfm/utils/
Dbond_http_api.py183 return elapsed.total_seconds() > _TOKEN_TTL_SECONDS
/external/autotest/client/site_tests/desktopui_ScreenLocker/
Ddesktopui_ScreenLocker.py77 perf_values['lock_seconds'] = (datetime.now() - start).total_seconds()

123