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:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user