| 135 | } |
| 136 | |
| 137 | size_t Tr2VirtualAllocator::GetAllocatedMemory() const |
| 138 | { |
| 139 | //m_allocatedMemory includes the reserved blocks, so subtract the size of the reservations. |
| 140 | return m_allocatedMemory - m_reservedBlocks.size() * m_blockSize; |
| 141 | } |
no test coverage detected