Home
last modified time | relevance | path

Searched refs:ChangeFileMode (Results 1 – 25 of 41) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/debug/rdr/
Dgraph_recorder.cc44 ChangeFileMode(real_path, S_IRUSR); in DumpIRProto()
69 ChangeFileMode(realpath_dat, S_IRWXU); in Export()
71 ChangeFileMode(realpath_dat, S_IRUSR); in Export()
Dstring_recorder.cc30 ChangeFileMode(file_path, S_IRWXU); in Export()
39 ChangeFileMode(file_path, S_IRUSR); in Export()
Dgraph_exec_order_recorder.cc27 ChangeFileMode(filename, S_IRWXU); in DumpGraphExeOrder()
46 ChangeFileMode(filename, S_IRUSR); in DumpGraphExeOrder()
Dstream_exec_order_recorder.cc61 ChangeFileMode(real_file_path, S_IRWXU); in Export()
70 ChangeFileMode(real_file_path, S_IRUSR); in Export()
Dmem_address_recorder.cc61 ChangeFileMode(file_path, S_IRWXU); in Export()
70 ChangeFileMode(file_path, S_IRUSR); in Export()
/third_party/mindspore/mindspore/ccsrc/profiler/device/
Ddata_saver.cc124 ChangeFileMode(file_path); in WriteOpType()
153 ChangeFileMode(file_path); in WriteOpDetail()
182 ChangeFileMode(file_path); in WriteOpTimestamp()
185 void DataSaver::ChangeFileMode(const std::string &file_path) const { in ChangeFileMode() function in mindspore::profiler::DataSaver
Ddata_saver.h127 void ChangeFileMode(const std::string &file_path) const;
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/data/
Ddataset_profiling.cc60 ChangeFileMode(); in SaveProfilingData()
63 void GetNextProfiling::ChangeFileMode() { in ChangeFileMode() function in mindspore::kernel::GetNextProfiling
Ddataset_profiling.h38 void ChangeFileMode();
/third_party/mindspore/mindspore/ccsrc/profiler/device/gpu/
Dgpu_data_saver.cc188 ChangeFileMode(file_path); in WriteActivity()
190 ChangeFileMode(timestamp_file_path); in WriteActivity()
290 ChangeFileMode(file_path); in WriteStepTraceAsyncLaunchKernel()
336 ChangeFileMode(file_path); in WriteStepTrace()
360 ChangeFileMode(file_path); in WriteStartTime()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/perf/
Dprofiling.h57 virtual Status ChangeFileMode() = 0;
128 Status ChangeFileMode();
Dprofiling.cc223 Status ProfilingManager::ChangeFileMode() { in ChangeFileMode() function in mindspore::dataset::ProfilingManager
229 RETURN_IF_NOT_OK(node.second->ChangeFileMode()); in ChangeFileMode()
232 RETURN_IF_NOT_OK(node.second->ChangeFileMode()); in ChangeFileMode()
Ddataset_iterator_tracing.h43 Status ChangeFileMode() override;
Ddevice_queue_tracing.h43 Status ChangeFileMode() override;
Dconnector_size.h65 Status ChangeFileMode() { return Status::OK(); } in ChangeFileMode() function
Ddevice_queue_tracing.cc49 Status DeviceQueueTracing::ChangeFileMode() { in ChangeFileMode() function in mindspore::dataset::DeviceQueueTracing
Ddataset_iterator_tracing.cc49 Status DatasetIteratorTracing::ChangeFileMode() { in ChangeFileMode() function in mindspore::dataset::DatasetIteratorTracing
Dmonitor.cc61 RETURN_IF_NOT_OK(tree_->GetProfilingManager()->ChangeFileMode()); in operator ()()
Dconnector_throughput.h75 Status ChangeFileMode() override;
/third_party/mindspore/mindspore/ccsrc/debug/data_dump/
Ddump_json_parser.cc127 ChangeFileMode(file_path, S_IWUSR); in WriteJsonFile()
134 ChangeFileMode(file_path, S_IRUSR); in WriteJsonFile()
193 ChangeFileMode(file_path, S_IWUSR); in CopyMSCfgJsonToDir()
200 ChangeFileMode(file_path, S_IRUSR); in CopyMSCfgJsonToDir()
219 ChangeFileMode(file_path_str, S_IWUSR); in DumpToFile()
233 ChangeFileMode(file_path_str, S_IRUSR); in DumpToFile()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/tasksink/
Dtask_generator.cc289 ChangeFileMode(real_filename, S_IRWXU); in DumpTaskInfo()
292 ChangeFileMode(real_filename, S_IRUSR); in DumpTaskInfo()
312 ChangeFileMode(path_string, S_IRWXU); in DumpTaskInfo()
315 ChangeFileMode(path_string, S_IRUSR); in DumpTaskInfo()
/third_party/mindspore/mindspore/ccsrc/debug/
Dcommon.cc252 ChangeFileMode(real_path.value(), S_IRWXU); in SaveStringToFile()
263 ChangeFileMode(real_path.value(), S_IRUSR); in SaveStringToFile()
Danf_ir_dump.cc595 ChangeFileMode(realpath.value(), S_IWUSR); in DumpIR()
621 ChangeFileMode(realpath.value(), S_IRUSR); in DumpIR()
637 ChangeFileMode(realpath.value(), S_IWUSR); in DumpIRForRDR()
663 ChangeFileMode(realpath.value(), S_IRUSR); in DumpIRForRDR()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/strategy_checkpoint/
Dparallel_strategy_checkpoint.cc200 ChangeFileMode(save_file_, S_IRUSR | S_IWUSR); in Save()
225 ChangeFileMode(group_info_save_file_, S_IRUSR | S_IWUSR); in SaveGroupInfo()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/text/
Dsentence_piece_vocab.cc107 ChangeFileMode(whole_path.value(), S_IRUSR | S_IWUSR); in SaveModel()

12