Home
last modified time | relevance | path

Searched refs:time (Results 1 - 17 of 17) sorted by relevance

/build/hb/util/
H A Dtimer_util.py18 import time namespace
29 s_time = time.monotonic()
31 e_time = time.monotonic()
32 LogUtil.hb_info("The run time for {} is {} s".format(func.__name__, round(e_time - s_time, 2)))
H A Dmonitor.py18 import time namespace
142 time.sleep(SNAP_TIME_CONSTANT)
/build/test/example/
H A Dmylogger.py21 import time namespace
33 current_time = time.strftime(suffix, time.localtime())
53 time_tuple = time.localtime()
55 if self.suftime != time.strftime(self.suffix, time_tuple) or not os.path.exists(
72 cur_time = time.localtime()
73 self.suftime = time.strftime(self.suffix, cur_time)
H A Dconftest.py24 import time namespace
54 cells.insert(1, html.th("Time", class_="sortable time", col="time"))
60 cells.insert(1, html.th(time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()), class_="col-time"))
H A Dperformance_test.py19 import time namespace
145 self.total_flag = re.compile(r"Cost time:.*(\d+:\d+:\d+)")
286 if name == "total time":
380 @parameter timeout: execute cmd time out
400 start_time = time.time()
403 if timeout and time.time() - start_time > timeout:
404 raise Exception("exec cmd time out,select")
413 out_str = "{}".format(time
[all...]
H A Dtest_build_option.py24 import time namespace
124 raise Exception("exec cmd time out,communicate")
241 flags["cost_time"] = {"pattern": r"Cost time:.*(\d+:\d+:\d+)", "flag": False}
516 flags["cost_time"] = {"pattern": r"Cost time:.*(\d+:\d+:\d+)", "flag": False}
1050 start_time = time.time()
1052 if timeout and time.time() - start_time > timeout:
1053 raise Exception("exec cmd time out,select")
1079 start_time = time
[all...]
/build/lite/ndk/build/
H A Dbuild.py24 import time namespace
69 time.sleep(2)
/build/indep_configs/scripts/
H A Drefactor_hpm_bundle_json.py19 import time namespace
H A Dvariants_info_handler.py21 import time namespace
H A Dgenerate_target_build_gn.py19 import time namespace
/build/hb/services/
H A Dgn.py22 import time namespace
115 time.sleep(0.1)
H A Dhdc.py22 import time namespace
H A Dhpm.py22 import time namespace
/build/ohos/sdk/
H A Dcheck_sdk_completeness.py21 import time namespace
/build/templates/common/
H A Dgenerate_component_package.py22 import time namespace
741 start_time = time.time()
788 end_time = time.time()
791 print(f"Generating binary product package takes time:{run_time}")
/build/
H A Dprebuilts_download.py23 import time namespace
257 time.sleep(0.1)
/build/hb/
H A Dmain.py24 import time namespace

Completed in 8 milliseconds