Home
last modified time | relevance | path

Searched refs:TS (Results 1 - 3 of 3) sorted by relevance

/test/testfwk/xdevice/plugins/devicetest/utils/
H A Dtime_util.py28 class TS(): class
39 TS.inner_stack.append(time.time())
42 log.error("start TS exception.", is_traceback=True)
46 if TS.times == 0:
47 TS.times = 1
48 return ("%s ==> average: %.3f ms" % (prefix, TS.total / TS.times))
53 if len(TS.inner_stack) > 0:
54 cur_time = (time.time() - TS.inner_stack.pop()) * 1000
55 TS
[all...]
H A Dimg_util.py27 from devicetest.utils.time_util import TS namespace
148 TS.start()
159 TS.stop("before find_arr")
178 TS.start()
225 TS.stop("find_arr")
237 TS.stop("find_arr")
/test/testfwk/xdevice/plugins/devicetest/core/
H A Dtest_case.py56 from devicetest.utils.time_util import TS namespace
977 TS.start()
980 cost_time = TS.stop()
1064 TS.start()
1068 TS.stop()

Completed in 3 milliseconds