diff --git a/extuner.py b/extuner.py index 2e24a1ce73fadd4181c59110b122d48313a29186..3e28b12e8e6eee341068cf1d1cb824670c2cca02 100644 --- a/extuner.py +++ b/extuner.py @@ -3,8 +3,30 @@ # cython:language_level=3 from common.log import Logger +from common.tool_cmd import ToolCmd +from summary_info import SummaryInfo # main function # if __name__=='__main__': def main(): - Logger().info("hello world") \ No newline at end of file + + Timer = { "start": "", "stop": "" } + ret = False + args = ToolCmd().args_help() + func = args.func + + + if args.work_path == '': + work_path = '/usr/share/extuner/' + else: + work_path = args.work_path + + if args.inst_path == '': + inst_path = '/usr/share/extuner/' + else: + inst_path = args.inst_path + + out_path = args.out_path + + SummaryInfo.init(out_path,work_path, inst_path) + Logger().info("Extuner 开始执行") \ No newline at end of file