Experiment updates due to last commit.

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1449 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
adrian
2012-07-12 10:45:39 +00:00
parent a78911702a
commit 2076d21e61
13 changed files with 177 additions and 177 deletions

View File

@ -12,7 +12,7 @@
#include "experiment.hpp"
#include "sal/SALInst.hpp"
#include "sal/Event.hpp"
#include "sal/Listener.hpp"
#include "util/Logger.hpp"
#include "config/FailConfig.hpp"
@ -33,8 +33,8 @@ bool FireInterruptExperiment::run()
while (true) {
int j = 0;
for (j = 0; j <= 100; j++) {
BPSingleEvent mainbp(0x1045f5);
simulator.addEventAndWait(&mainbp);
BPSingleListener mainbp(0x1045f5);
simulator.addListenerAndResume(&mainbp);
}
simulator.fireInterrupt(1);
}
@ -42,6 +42,6 @@ bool FireInterruptExperiment::run()
simulator.dbgEnableInstrPtrOutput(500);
#endif
simulator.clearEvents(this);
simulator.clearListeners(this);
return true;
}