Home
last modified time | relevance | path

Searched refs:profiler_manager (Results 1 – 6 of 6) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/profiling/
Dprofiling_manager.h62 auto profiler_manager = profiler::ProfilerManager::GetInstance(); in IsProfiling() local
63 MS_EXCEPTION_IF_NULL(profiler_manager); in IsProfiling()
64 return profiler_manager->GetProfilingEnableFlag(); in IsProfiling()
Dprofiling_manager.cc88 auto profiler_manager = profiler::ProfilerManager::GetInstance(); in GetProfConf() local
89 if (profiler_manager == nullptr) { in GetProfConf()
93 const string prof_options_str = profiler_manager->GetProfilingOptions(); in GetProfConf()
Dprofiling_utils.cc43 auto profiler_manager = profiler::ProfilerManager::GetInstance(); in GetContextProfilingOption() local
44 MS_EXCEPTION_IF_NULL(profiler_manager); in GetContextProfilingOption()
45 const string prof_options_str = profiler_manager->GetProfilingOptions(); in GetContextProfilingOption()
/third_party/mindspore/mindspore/ccsrc/utils/context/
Dcontext_extends.cc168 auto profiler_manager = profiler::ProfilerManager::GetInstance(); in GetGeOptions() local
169 if (profiler_manager == nullptr) { in GetGeOptions()
172 …(*ge_options)["ge.exec.profilingMode"] = std::to_string(profiler_manager->GetProfilingEnableFlag()… in GetGeOptions()
173 if (profiler_manager->GetProfilingEnableFlag()) { in GetGeOptions()
174 (*ge_options)["ge.exec.profilingOptions"] = profiler_manager->GetProfilingOptions(); in GetGeOptions()
/third_party/mindspore/mindspore/ccsrc/pipeline/pynative/
Dpynative_profiling.cc33 auto profiler_manager = profiler::ProfilerManager::GetInstance(); in SetEnableProfilingFlag() local
34 MS_EXCEPTION_IF_NULL(profiler_manager); in SetEnableProfilingFlag()
35 enable_profiler_flag_ = profiler_manager->GetProfilingEnableFlag(); in SetEnableProfilingFlag()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dascend_kernel_runtime.cc328 auto profiler_manager = profiler::ProfilerManager::GetInstance(); in Init() local
329 MS_EXCEPTION_IF_NULL(profiler_manager); in Init()
330 auto profiling_flag = profiler_manager->GetProfilingEnableFlag(); in Init()
1151 auto profiler_manager = profiler::ProfilerManager::GetInstance(); in KernelLaunchProfiling() local
1152 MS_EXCEPTION_IF_NULL(profiler_manager); in KernelLaunchProfiling()
1153 if (!profiler_manager->GetProfilingEnableFlag()) { in KernelLaunchProfiling()