def start(gx, main_module_name): # --- analyze & annotate t0 = time.time() analyze(gx, main_module_name) annotate(gx) generate_code(gx) print_errors() logging.info('[elapsed time: %.2f seconds]', (time.time() - t0))
def start(gx, main_module_name): # --- analyze & annotate t0 = time.time() analyze(gx, main_module_name) annotate(gx) generate_code(gx) print_errors() if not gx.silent: print '[elapsed time: %.2f seconds]' % (time.time() - t0)