Home
last modified time | relevance | path

Searched refs:log_path (Results 1 – 15 of 15) sorted by relevance

/third_party/mindspore/tests/perf_test/mind_expression_perf/
Dgenerate_report.py26 log_path = sys.argv[2]
30 return me_report_path, log_path, int(n_iter), out
43 def process_log(fname, log_path, n_iter, keyword, pattern): argument
46 fname_path = os.path.join(log_path, fname % i)
69 def process_bert_log(log_path, n_iter): argument
71 total = process_log(fname, log_path, n_iter, "TotalTime", r"\d+.\d+")
72 task = process_log(fname, log_path, n_iter, "task_emit", r"\d+.\d+")
80 def process_resnet_log(log_path, n_iter): argument
82 total = process_log(fname, log_path, n_iter, "TotalTime", r"\d+.\d+")
83 task = process_log(fname, log_path, n_iter, "task_emit", r"\d+.\d+")
[all …]
Drun.sh25 log_path=$work_dir/logs/$log_dir
48 log_path=$work_dir/logs/$log_dir
59 echo "Args: days=$days, iter=$iter, log_path=$log_path"
86 mkdir -p $log_path
99 …num/test_reid_stage123_1024node_graphdata_dynamiclossscale_log$num.log $log_path/reid_${count}_${n…
102 mv reid$count $log_path
109 …s mindspore/tests/perf_test/bert/test_bert_train.py::test_bert_train | tee $log_path/bert$count.log
115 …pytest -s mindspore/tests/perf_test/test_resnet_train.py::test_train_step | tee $log_path/resnet$c…
122 bash scripts/run_standalone_train.sh 0 1 $work_dir/gpt_data | tee $log_path/gpt$count.log
130 python process_data.py $me_report_path $log_path $iter $log_path/$log_data
[all …]
Dprocess_data.py24 log_path = sys.argv[1]
29 return log_path, log_data, me_report, int(n_days)
78 def generate_report(log, labels, log_path): argument
81 fname_path = os.path.join(log_path, fname)
82 out_path = os.path.join(log_path, "reports", label+"_me.log")
89 log_path, log_data, me_report, n_days = parse_arguments()
96 os.path.join(log_path, "reports", "reid_bert_gpt.png")
99 os.path.join(log_path, "reports", "resnet.png"))
100 generate_report(log, list(log.keys()), log_path)
/third_party/mindspore/tests/st/model_zoo_tests/
Dutils.py60 def get_perf_data(log_path, search_str="per step time", cmd=None): argument
63 .format(search_str, log_path)
76 cmd = "cat {}".format(log_path)
83 def get_loss_data_list(log_path, search_str="loss is", cmd=None): argument
85 loss_value_cmd = """ grep -a '{}' {}| awk '{{print $NF}}' """.format(search_str, log_path)
92 raise RuntimeError("get loss from {} failed".format(log_path))
97 cmd = "cat {}".format(log_path)
103 def parse_log_file(pattern, log_path): argument
105 with open(log_path, "r") as file:
112 cmd = "cat {}".format(log_path)
/third_party/ninja/src/
Dninja.cc883 string log_path = ".ninja_log"; in ToolRestat() local
885 log_path = build_dir_ + "/" + log_path; in ToolRestat()
888 const LoadStatus status = build_log_.Load(log_path, &err); in ToolRestat()
890 Error("loading build log %s: %s", log_path.c_str(), err.c_str()); in ToolRestat()
903 bool success = build_log_.Restat(log_path, disk_interface_, argc, argv, &err); in ToolRestat()
910 if (!build_log_.OpenForWrite(log_path, *this, &err)) { in ToolRestat()
1093 string log_path = ".ninja_log"; in OpenBuildLog() local
1095 log_path = build_dir_ + "/" + log_path; in OpenBuildLog()
1098 const LoadStatus status = build_log_.Load(log_path, &err); in OpenBuildLog()
1100 Error("loading build log %s: %s", log_path.c_str(), err.c_str()); in OpenBuildLog()
[all …]
Dbuild_test.cc519 const char* log_path = NULL, const char* deps_path = NULL,
540 const char* log_path, const char* deps_path, in RebuildTarget() argument
550 if (log_path) { in RebuildTarget()
551 ASSERT_TRUE(build_log.Load(log_path, &err)); in RebuildTarget()
552 ASSERT_TRUE(build_log.OpenForWrite(log_path, *this, &err)); in RebuildTarget()
/third_party/cef/libcef/common/
Dresource_util.cc184 base::FilePath log_path; in GetDefaultLogFilePath() local
185 base::PathService::Get(base::DIR_EXE, &log_path); in GetDefaultLogFilePath()
186 return log_path.Append(FILE_PATH_LITERAL("debug.log")); in GetDefaultLogFilePath()
/third_party/ffmpeg/libavfilter/
Dvf_libvmaf.c55 char *log_path; member
76 …the file path to be used to store logs.", OFFSET(log_path), AV_OPT_TYPE_STR…
173 read_frame, s, s->model_path, s->log_path, in compute_vmaf_score()
/third_party/musl/scripts/
Dinstall.py9 def exec_command(cmd, log_path='out/build.log', **kwargs): argument
/third_party/mindspore/mindspore/train/summary/
Dsummary_record.py165 log_path = _make_directory(log_dir, "log_dir")
184 self.file_info['file_path'] = os.path.join(log_path, self.file_info.get('file_name'))
/third_party/jsoncpp/devtools/
Dbatchbuild.py89 def _execute_build_subprocess(self, cmd, env, log_path): argument
94 with open(log_path, 'wb') as flog:
/third_party/ltp/testcases/network/netstress/
Dnetstress.c115 static char *log_path = "netstress.log"; variable
726 int fd = SAFE_OPEN(log_path, O_CREAT | O_TRUNC | O_WRONLY, 0644); in move_to_background()
/third_party/python/Lib/test/
Dtest_typing.py3029 log_path: str
/third_party/ffmpeg/doc/
Dfilters.texi13887 @item log_path
/third_party/chromium/patch/
D0003-3.2-Beta3-1115.patch23583 base::FilePath log_path;
23585 + base::PathService::Get(base::DIR_OHOS_APP_DATA, &log_path);
23587 base::PathService::Get(base::DIR_EXE, &log_path);
23589 return log_path.Append(FILE_PATH_LITERAL("debug.log"));