Lines Matching defs:time
5 """This script reports time spent by setup.exe in each install/update phase.
9 starts, but can also time remaining stages if launched half-way through.
24 import time
51 start_time = time.clock()
65 time.sleep(0.01)
69 # Round elapsed time to 2 digits precision; anything beyond that would be
71 elapsed_time = round(time.clock() - start_time, 2)
74 time.strftime("%x %X", time.localtime()), current_stage,
76 timings.append({'stage': current_stage, 'time': elapsed_time})
79 time.strftime("%x %X", time.localtime()), current_stage,
83 timings.append({'stage': current_stage, 'time': elapsed_time,
88 time.strftime("%x %X", time.localtime()), new_stage)
92 time.strftime("%x %X", time.localtime()))
96 time.strftime("%x %X", time.localtime()))
99 start_time = time.clock()