Statistics data. More...
#include <playrho/pmr/PoolMemoryResource.hpp>
Public Attributes | |
std::size_t | allocatedBuffers {} |
Count of buffers in the "allocated" (i.e. in-use-by-caller) state. | |
std::size_t | maxBytes {} |
Max bytes capacity of any buffer element. | |
std::size_t | numBuffers {} |
Number of buffer elements. More... | |
std::size_t | totalBytes {} |
Total bytes capacity of all buffer elements. | |
Friends | |
bool | operator!= (const Stats &lhs, const Stats &rhs) noexcept |
Operator not-equals support. | |
bool | operator== (const Stats &lhs, const Stats &rhs) noexcept |
Operator equals support. | |
Statistics data.
std::size_t playrho::pmr::PoolMemoryResource::Stats::numBuffers {} |
Number of buffer elements.
size(m_buffers)
. Referenced by playrho::pmr::PoolMemoryResource::GetStats(), and playrho::pmr::operator<<().