mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-06 04:05:55 +01:00
Hadrons: VM memory profiling fix
This commit is contained in:
parent
e418b044f7
commit
5b937e3644
@ -424,11 +424,17 @@ void VirtualMachine::memoryProfile(const unsigned int address)
|
||||
cleanEnvironment();
|
||||
for (auto &in: m->getInput())
|
||||
{
|
||||
memoryProfile(env().getObjectModule(in));
|
||||
if (!env().hasCreatedObject(in))
|
||||
{
|
||||
memoryProfile(env().getObjectModule(in));
|
||||
}
|
||||
}
|
||||
for (auto &ref: m->getReference())
|
||||
{
|
||||
memoryProfile(env().getObjectModule(ref));
|
||||
if (!env().hasCreatedObject(ref))
|
||||
{
|
||||
memoryProfile(env().getObjectModule(ref));
|
||||
}
|
||||
}
|
||||
m->setup();
|
||||
updateProfile(address);
|
||||
|
Loading…
x
Reference in New Issue
Block a user