wmoo: don't do more experiments than necessary
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1353 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -88,7 +88,7 @@ bool WeatherMonitorCampaign::run()
|
||||
|
||||
// for every section in the trace between subsequent memory
|
||||
// accesses to that address ...
|
||||
while(ps.getNext(&ev)) {
|
||||
while (ps.getNext(&ev) && instr < WEATHER_NUMINSTR_TRACING) {
|
||||
// instruction events just get counted
|
||||
if (!ev.has_memaddr()) {
|
||||
// new instruction
|
||||
|
||||
@ -88,6 +88,8 @@ bool WeatherMonitorExperiment::run()
|
||||
bp.setWatchInstructionPointer(WEATHER_FUNC_WAIT_END);
|
||||
bp.setCounter(WEATHER_NUMITER_TRACING);
|
||||
#else
|
||||
// FIXME this doesn't work properly: trace is one instruction too short as
|
||||
// tp is removed before all events were delivered
|
||||
// trace WEATHER_NUMINSTR_TRACING instructions
|
||||
// -> campaign-ready traces with identical lengths
|
||||
bp.setWatchInstructionPointer(ANY_ADDR);
|
||||
|
||||
Reference in New Issue
Block a user