Searched refs:profiler_manager (Results 1 – 6 of 6) sorted by relevance
62 auto profiler_manager = profiler::ProfilerManager::GetInstance(); in IsProfiling() local63 MS_EXCEPTION_IF_NULL(profiler_manager); in IsProfiling()64 return profiler_manager->GetProfilingEnableFlag(); in IsProfiling()
88 auto profiler_manager = profiler::ProfilerManager::GetInstance(); in GetProfConf() local89 if (profiler_manager == nullptr) { in GetProfConf()93 const string prof_options_str = profiler_manager->GetProfilingOptions(); in GetProfConf()
43 auto profiler_manager = profiler::ProfilerManager::GetInstance(); in GetContextProfilingOption() local44 MS_EXCEPTION_IF_NULL(profiler_manager); in GetContextProfilingOption()45 const string prof_options_str = profiler_manager->GetProfilingOptions(); in GetContextProfilingOption()
168 auto profiler_manager = profiler::ProfilerManager::GetInstance(); in GetGeOptions() local169 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()
33 auto profiler_manager = profiler::ProfilerManager::GetInstance(); in SetEnableProfilingFlag() local34 MS_EXCEPTION_IF_NULL(profiler_manager); in SetEnableProfilingFlag()35 enable_profiler_flag_ = profiler_manager->GetProfilingEnableFlag(); in SetEnableProfilingFlag()
328 auto profiler_manager = profiler::ProfilerManager::GetInstance(); in Init() local329 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() local1152 MS_EXCEPTION_IF_NULL(profiler_manager); in KernelLaunchProfiling()1153 if (!profiler_manager->GetProfilingEnableFlag()) { in KernelLaunchProfiling()