xo-interpreter2 stack: cleanup memory reporting
This commit is contained in:
parent
bfc7a1d379
commit
d06f18f444
2 changed files with 7 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ namespace xo {
|
|||
using xo::scm::DFloat;
|
||||
using xo::mm::AGCObject;
|
||||
using xo::mm::MemorySizeInfo;
|
||||
using xo::facet::FacetRegistry;
|
||||
using span_type = xo::scm::VirtualSchematikaMachine::span_type;
|
||||
using Catch::Matchers::WithinAbs;
|
||||
|
||||
|
|
@ -84,6 +85,7 @@ namespace xo {
|
|||
xtag("resv", info.reserved_));
|
||||
};
|
||||
|
||||
FacetRegistry::instance().visit_pools(visitor);
|
||||
vsm.visit_pools(visitor);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
* @author Roland Conybeare, Jan 2026
|
||||
**/
|
||||
|
||||
#include <xo/facet/FacetRegistry.hpp>
|
||||
#include <xo/subsys/Subsystem.hpp>
|
||||
|
||||
#define CATCH_CONFIG_RUNNER
|
||||
|
|
@ -11,8 +12,12 @@
|
|||
int
|
||||
main(int argc, char* argv[])
|
||||
{
|
||||
using xo::facet::FacetRegistry;
|
||||
using xo::Subsystem;
|
||||
|
||||
// initialize facet registry
|
||||
FacetRegistry::instance(1024);
|
||||
|
||||
// initialize subsystems
|
||||
Subsystem::initialize_all();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue