mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-17 23:37:06 +01:00
Hadrons: everything is broken, repairing while implementing the new memory model
This commit is contained in:
@ -316,3 +316,17 @@ void Application::configLoop(void)
|
||||
LOG(Message) << BIG_SEP << " End of measurement " << BIG_SEP << std::endl;
|
||||
env().freeAll();
|
||||
}
|
||||
|
||||
// memory profile //////////////////////////////////////////////////////////////
|
||||
void Application::memoryProfile(void)
|
||||
{
|
||||
auto graph = env().makeModuleGraph();
|
||||
auto program = graph.topoSort();
|
||||
bool msg;
|
||||
|
||||
msg = HadronsLogMessage.isActive();
|
||||
HadronsLogMessage.Active(false);
|
||||
|
||||
HadronsLogMessage.Active(msg);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user