Home
last modified time | relevance | path

Searched refs:GraphMemory (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/profiler/device/ascend/
Dmemory_profiling.h81 class GraphMemory {
83 explicit GraphMemory(uint32_t graph_id) : graph_id_(graph_id), static_mem_size_(0) {} in GraphMemory() function
84 ~GraphMemory() = default;
111 std::shared_ptr<GraphMemory> AddGraphMemoryNode(uint32_t graph_id);
112 std::shared_ptr<GraphMemory> GetGraphMemoryNode(uint32_t graph_id) const;
121 std::map<uint32_t, std::shared_ptr<GraphMemory>> graph_memory_;
Dmemory_profiling.cc54 std::shared_ptr<GraphMemory> MemoryProfiling::AddGraphMemoryNode(uint32_t graph_id) { in AddGraphMemoryNode()
55 std::shared_ptr<GraphMemory> node = std::make_shared<GraphMemory>(graph_id); in AddGraphMemoryNode()
61 std::shared_ptr<GraphMemory> MemoryProfiling::GetGraphMemoryNode(uint32_t graph_id) const { in GetGraphMemoryNode()