|
UMPIRE
Umpire: resource management and provision
|
#include </home/docs/checkouts/readthedocs.org/user_builds/umpire/checkouts/develop/src/umpire/strategy/mixins/Inspector.hpp>

Public Member Functions | |
| Inspector ()=default | |
| void | registerAllocation (void *ptr, std::size_t size, strategy::AllocationStrategy *strategy) |
| void | registerAllocation (void *ptr, std::size_t size, strategy::AllocationStrategy *strategy, const std::string &name) |
| util::AllocationRecord | deregisterAllocation (void *ptr, strategy::AllocationStrategy *strategy) |
|
default |
| void umpire::strategy::mixins::Inspector::registerAllocation | ( | void * | ptr, |
| std::size_t | size, | ||
| strategy::AllocationStrategy * | strategy | ||
| ) |
| void umpire::strategy::mixins::Inspector::registerAllocation | ( | void * | ptr, |
| std::size_t | size, | ||
| strategy::AllocationStrategy * | strategy, | ||
| const std::string & | name | ||
| ) |
| util::AllocationRecord umpire::strategy::mixins::Inspector::deregisterAllocation | ( | void * | ptr, |
| strategy::AllocationStrategy * | strategy | ||
| ) |
References umpire::ResourceManager::deregisterAllocation(), umpire::ResourceManager::getInstance(), umpire::strategy::AllocationStrategy::getName(), umpire::strategy::AllocationStrategy::m_allocation_count, umpire::strategy::AllocationStrategy::m_current_size, umpire::event::record(), umpire::ResourceManager::registerAllocation(), and UMPIRE_ERROR.