Hello,
In src/cpu/base.cc we have the following destructor:
BaseCPU::~BaseCPU()
{
}
By default nothing is inside of it. However, when I put code inside, it does
not seem to be executed at any point. Based on some previous threads I have
seen on the forums, it seems that the destructor for BaseCPU is not being
called at the end of the simulation.
Has anyone found a way to make sure this destructor is called when the
simulation ends?
Similarly, has anyone written a tracer which is a subclass of InstTracer that
has a destructor which is successfully called at the end of simulation?
Basically my objective is to make sure the destructor to my customTracer is
called at the end of the simulation.
Thanks,
Scott Blankenberg
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s