diff --git a/src/umpire/ResourceManager.cpp b/src/umpire/ResourceManager.cpp index 4571dff6a..370c26b85 100644 --- a/src/umpire/ResourceManager.cpp +++ b/src/umpire/ResourceManager.cpp @@ -272,10 +272,10 @@ std::vector ResourceManager::getResourceNames() return registry.getResourceNames(); } -std::vector ResourceManager::getSharedAllocNames() +std::vector ResourceManager::getSharedAllocatorNames() { if (m_shared_allocator_names.size() == 0) { - UMPIRE_LOG(Debug, "Called getSharedAllocNames, but there are none. Returning empty vector."); + UMPIRE_LOG(Debug, "Called getSharedAllocatorNames, but there are none. Returning empty vector."); return std::vector(); // Return an empty vector of strings } diff --git a/src/umpire/ResourceManager.hpp b/src/umpire/ResourceManager.hpp index ca0960533..87ef68249 100644 --- a/src/umpire/ResourceManager.hpp +++ b/src/umpire/ResourceManager.hpp @@ -109,7 +109,7 @@ class ResourceManager { * * \return A vector of strings with the available SHARED allocator names. */ - std::vector getSharedAllocNames(); + std::vector getSharedAllocatorNames(); /*! * \brief Set the default Allocator. diff --git a/src/umpire/Umpire.cpp b/src/umpire/Umpire.cpp index b142fad36..9f4b222c5 100644 --- a/src/umpire/Umpire.cpp +++ b/src/umpire/Umpire.cpp @@ -183,7 +183,7 @@ std::size_t get_total_bytes_allocated() total_memory += alloc.getActualSize(); } - for (auto s : rm.getSharedAllocNames()) { + for (auto s : rm.getSharedAllocatorNames()) { umpire::Allocator alloc = rm.getAllocator(s); total_memory += alloc.getActualSize(); }