Skip to content
Snippets Groups Projects
Commit 33772f75 authored by Horst Schirmeier's avatar Horst Schirmeier
Browse files

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
parent 94909e85
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment