Home
last modified time | relevance | path

Searched refs:AscendProfiler (Results 1 – 5 of 5) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/profiler/device/ascend/
Dascend_profiling.cc25 std::shared_ptr<AscendProfiler> AscendProfiler::ascend_profiler_ = std::make_shared<AscendProfiler>…
27 std::shared_ptr<AscendProfiler> &AscendProfiler::GetInstance() { return ascend_profiler_; } in GetInstance()
29 void AscendProfiler::StepProfilingEnable(const bool enable_flag) { in StepProfilingEnable()
34 void AscendProfiler::Start(const std::string &profiling_options) { in Start()
39 void AscendProfiler::Stop() { in Stop()
45 … (void)py::class_<AscendProfiler, std::shared_ptr<AscendProfiler>>(*m, "AscendProfiler") in __anond89ca1d80102()
46 … .def_static("get_instance", &AscendProfiler::GetInstance, "AscendProfiler get_instance.") in __anond89ca1d80102()
47 … .def("start", &AscendProfiler::Start, py::arg("profiling_options"), "start") in __anond89ca1d80102()
48 .def("stop", &AscendProfiler::Stop, "stop"); in __anond89ca1d80102()
Dascend_profiling.h25 class AscendProfiler : public Profiler {
27 static std::shared_ptr<AscendProfiler> &GetInstance();
28 AscendProfiler() : profiling_options_("") {} in AscendProfiler() function
29 ~AscendProfiler() = default;
30 AscendProfiler(const AscendProfiler &) = delete;
31 AscendProfiler &operator=(const AscendProfiler &) = delete;
43 static std::shared_ptr<AscendProfiler> ascend_profiler_;
Dmemory_profiling.cc32 auto ascend_profiler = AscendProfiler::GetInstance(); in IsMemoryProfilingEnable()
121 auto ascend_profiler = AscendProfiler::GetInstance(); in GetOutputPath()
/third_party/mindspore/mindspore/ccsrc/profiler/device/
Dprofiling.cc103 auto ascend_instance = profiler::ascend::AscendProfiler::GetInstance(); in GetProfilingEnableFlag()
121 auto ascend_instance = profiler::ascend::AscendProfiler::GetInstance(); in GetProfilingOptions()
/third_party/mindspore/mindspore/profiler/
Dprofiling.py169 self._ascend_profiler = c_expression.AscendProfiler.get_instance()