wmoo: don't trace more than necessary

Currently we're tracing until four main loop iterations are completed.
The campaign uses the complete trace to span the fault space, but we
cut it off afterwards for comparability reasons (same width as vanilla).

This (disabled) patch executes only the actually necessary number of
experiments in the first place.

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1342 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
hsc
2012-06-13 12:53:36 +00:00
parent c250d58e21
commit 10c68fdb9d

View File

@ -82,9 +82,17 @@ bool WeatherMonitorExperiment::run()
// this must be done *after* configuring the plugin:
simulator.addFlow(&tp);
#if 1
// trace WEATHER_NUMITER_TRACING measurement loop iterations
// -> calibration
bp.setWatchInstructionPointer(WEATHER_FUNC_WAIT_END);
bp.setCounter(WEATHER_NUMITER_TRACING);
#else
// trace WEATHER_NUMINSTR_TRACING instructions
// -> campaign-ready traces with identical lengths
bp.setWatchInstructionPointer(ANY_ADDR);
bp.setCounter(WEATHER_NUMINSTR_TRACING);
#endif
simulator.addEvent(&bp);
BPSingleEvent ev_count(ANY_ADDR);
simulator.addEvent(&ev_count);