Arena debug visualization
This commit is contained in:
@@ -276,6 +276,12 @@ public:
|
||||
*/
|
||||
size_t used_bytes() const { return arena_.used_bytes(); }
|
||||
|
||||
/**
|
||||
* @brief Get access to the underlying arena allocator for debugging.
|
||||
* @return Reference to the arena allocator
|
||||
*/
|
||||
const ArenaAllocator &arena() const { return arena_; }
|
||||
|
||||
/**
|
||||
* @brief Reset the commit request for reuse.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user