xo-interpreter2 .. xo-arena. memory pool introspection
This commit is contained in:
parent
9a2370e362
commit
3c53d92735
6 changed files with 25 additions and 9 deletions
|
|
@ -52,6 +52,13 @@ namespace xo {
|
|||
return s.allocated();
|
||||
}
|
||||
|
||||
void
|
||||
IAllocator_DArena::visit_pools(const DArena & s,
|
||||
const MemorySizeVisitor & visitor)
|
||||
{
|
||||
s.visit_pools(visitor);
|
||||
}
|
||||
|
||||
bool
|
||||
IAllocator_DArena::contains(const DArena & s,
|
||||
const void * p) noexcept
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue