Home
last modified time | relevance | path

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

/third_party/e2fsprogs/e2fsck/
Dlogfile.c292 char *s0 = 0, *log_dir = 0, *log_fn = 0; in set_up_log_file() local
304 profile_get_string(ctx->profile, "options", "log_dir", 0, 0, &log_dir); in set_up_log_file()
310 if ((log_fn[0] == '/') || !log_dir || !log_dir[0]) in set_up_log_file()
313 if (log_dir && log_dir[0]) { in set_up_log_file()
314 alloc_string(&s1, strlen(log_dir) + strlen(s.s) + 2); in set_up_log_file()
315 append_string(&s1, log_dir, 0); in set_up_log_file()
320 free(log_dir); in set_up_log_file()
322 &log_dir); in set_up_log_file()
323 if (log_dir && log_dir[0]) { in set_up_log_file()
324 alloc_string(&s2, strlen(log_dir) + strlen(s.s) + 2); in set_up_log_file()
[all …]
/third_party/mindspore/tests/ut/python/train/summary/
Dtest_summary_record.py64 def test_log_dir_with_type_error(self, log_dir): argument
66 with SummaryRecord(log_dir):
74 with SummaryRecord(log_dir=summary_dir, raise_exception=raise_exception):
88 def test_summary_collector_security_on(self, log_dir): argument
92 SummaryRecord(log_dir=log_dir)
Dtest_histogram_summary.py60 file_name = os.path.realpath(test_writer.log_dir)
83 file_name = os.path.realpath(test_writer.log_dir)
99 file_name = os.path.realpath(test_writer.log_dir)
117 file_name = os.path.realpath(test_writer.log_dir)
138 file_name = os.path.realpath(test_writer.log_dir)
163 file_name = os.path.realpath(test_writer.log_dir)
180 file_name = os.path.realpath(test_writer.log_dir)
/third_party/mindspore/tests/st/model_zoo_tests/yolov3_darknet53/src/
Dlogger.py40 def setup_logging_file(self, log_dir, rank=0): argument
43 if not os.path.exists(log_dir):
44 os.makedirs(log_dir, exist_ok=True)
46 self.log_fn = os.path.join(log_dir, log_name)
/third_party/mindspore/tests/perf_test/mind_expression_perf/
Drun.sh24 log_dir=logs_$(date "+%m%d-%H%M")
25 log_path=$work_dir/logs/$log_dir
47 log_dir=$OPTARG
48 log_path=$work_dir/logs/$log_dir
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_admin.cc42 ds::Path log_dir = ds::Path(FLAGS_log_dir); in main() local
43 rc = log_dir.CreateDirectories(); in main()
Dcache_main.cc81 ds::Path log_dir = ds::Path(FLAGS_log_dir); in StartServer() local
82 rc = log_dir.CreateDirectories(); in StartServer()
/third_party/mindspore/mindspore/
Dlog.py509 log_dir = os.path.realpath(kwargs.get('filepath'))
511 log_dir += '/rank_' + rank_id + '/logs'
512 if not os.path.exists(log_dir):
513 os.makedirs(log_dir, exist_ok=True)
514 return log_dir
/third_party/ltp/
Dexecltp.in299 if not opts.log_dir:
300 opts.log_dir = os.path.join(opts.ltp_dir, 'output')
358 exec_log = os.path.join(opts.log_dir, '%s-exec.log' % testsuite)
359 output_log = os.path.join(opts.log_dir, ('%s-output.log'
/third_party/mindspore/mindspore/train/summary/
Dsummary_record.py146 def __init__(self, log_dir, file_prefix="events", file_suffix="_MS", argument
165 log_path = _make_directory(log_dir, "log_dir")
195 self._event_writer = WriterPool(log_dir,
376 def log_dir(self): member in SummaryRecord
/third_party/mindspore/mindspore/ccsrc/debug/
Dcommon.cc277 const std::string log_dir = common::GetEnv("GLOG_log_dir"); in GlogLogDirRegister() local
278 if (!logtostderr.empty() && !log_dir.empty()) { in GlogLogDirRegister()
280 std::string log_dir_str = std::string(log_dir); in GlogLogDirRegister()
/third_party/mindspore/tests/st/summary/
Dtest_cpu_summary.py78 file_name = os.path.realpath(test_writer.log_dir)
/third_party/grpc/tools/run_tests/
Drun_xds_tests.py1702 log_dir = os.path.join(_TEST_LOG_BASE_DIR, test_case) variable
1703 if not os.path.exists(log_dir):
1704 os.makedirs(log_dir)
1705 test_log_filename = os.path.join(log_dir, _SPONGE_LOG_NAME)
/third_party/mindspore/tests/st/auto_monad/
Dtest_effect_ops.py395 file_name = os.path.realpath(test_writer.log_dir)
/third_party/mindspore/mindspore/train/callback/
D_summary_collector.py235 self._record = SummaryRecord(log_dir=self._summary_dir,