|
JPL Spatial
Sound spatialization and propagation library
|
#include <JPLSpatial/Memory/Memory.h>
Public Member Functions | |
| CountingResource (std::pmr::memory_resource *upstream) | |
Public Attributes | |
| std::pmr::memory_resource * | Upstream |
| std::size_t | InUse = 0 |
| std::size_t | MaxUsage = 0 |
Simple std::memory_resource wrapper that counts memory usage. Can be used for debugging and for dynamic memory resources adjustment based on the usage.
|
inlineexplicit |
| std::size_t JPL::CountingResource::InUse = 0 |
| std::size_t JPL::CountingResource::MaxUsage = 0 |
| std::pmr::memory_resource* JPL::CountingResource::Upstream |