debug manager prints to file

This commit is contained in:
Janik Schlemminger
2014-04-10 00:45:05 +02:00
parent d840cc7fd1
commit 4ef7c7ad78
8 changed files with 55 additions and 17 deletions

View File

@@ -63,7 +63,10 @@ Simulation::Simulation(sc_module_name name, string pathToResources, string trace
whiteList.push_back(ControllerCore::senderName);
whiteList.push_back(PowerDownManager::senderName);
}
DebugManager::getInstance().addToWhiteList(whiteList);
auto& dbg = DebugManager::getInstance();
dbg.addToWhiteList(whiteList);
dbg.setDebugFile(traceName + ".txt");
}
Simulation::~Simulation()