| Chunk |
|---|
| Conflicting content |
|---|
final static int CACHE_FLUSH = -51;
final static int CACHE_DUMP = -53;
<<<<<<< HEAD
/**
* Set to false for the WCET analysis, true for measurement
*/
=======
>>>>>>> ad585c276e9e798f96c6833f39d344c56bec0f2c
final static boolean MEASURE_CACHE = false;
static int ts, te, to;
|
| Solution content |
|---|
final static int CACHE_FLUSH = -51;
final static int CACHE_DUMP = -53;
final static boolean MEASURE_CACHE = false;
static int ts, te, to;
|
| File |
|---|
| StartBenchUdpIp.java |
| Developer's decision |
|---|
| Version 2 |
| Kind of conflict |
|---|
| Comment |
| Chunk |
|---|
| Conflicting content |
|---|
if (val |
| Solution content |
|---|
if (val |
| File |
|---|
| StartBenchUdpIp.java |
| Developer's decision |
|---|
| Version 1 |
| Kind of conflict |
|---|
| If statement |
| Chunk |
|---|
| Conflicting content |
|---|
public class StartKfl {
<<<<<<< HEAD
/**
* Set to false for the WCET analysis, true for Config.MEASUREment
*/
=======
>>>>>>> ad585c276e9e798f96c6833f39d344c56bec0f2c
static int ts, te, to;
|
| Solution content |
|---|
public class StartKfl {
static int ts, te, to;
|
| File |
|---|
| StartKfl.java |
| Developer's decision |
|---|
| Version 2 |
| Kind of conflict |
|---|
| Comment |
| Chunk |
|---|
| Conflicting content |
|---|
if (val |
| Solution content |
|---|
if (val |
| File |
|---|
| StartKfl.java |
| Developer's decision |
|---|
| Version 1 |
| Kind of conflict |
|---|
| If statement |
| Chunk |
|---|
| Conflicting content |
|---|
final static int CACHE_FLUSH = -51;
final static int CACHE_DUMP = -53;
<<<<<<< HEAD
/**
* Set to false for the WCET analysis, true for measurement
*/
=======
>>>>>>> ad585c276e9e798f96c6833f39d344c56bec0f2c
final static boolean MEASURE_CACHE = false;
private static LiftControl ctrl; |
| Solution content |
|---|
final static int CACHE_FLUSH = -51;
final static int CACHE_DUMP = -53;
final static boolean MEASURE_CACHE = false;
private static LiftControl ctrl; |
| File |
|---|
| StartLift.java |
| Developer's decision |
|---|
| Version 2 |
| Kind of conflict |
|---|
| Comment |
| Chunk |
|---|
| Conflicting content |
|---|
if (val |
| Solution content |
|---|
if (val |
| File |
|---|
| StartLift.java |
| Developer's decision |
|---|
| Version 1 |
| Kind of conflict |
|---|
| If statement |
| Method invocation |
| Chunk |
|---|
| Conflicting content |
|---|
public class StartLineFollower {
<<<<<<< HEAD
/**
* Set to false for the WCET analysis, true for measurement
*/
=======
>>>>>>> ad585c276e9e798f96c6833f39d344c56bec0f2c
static int ts, te, to;
/** |
| Solution content |
|---|
public class StartLineFollower {
static int ts, te, to;
/** |
| File |
|---|
| StartLineFollower.java |
| Developer's decision |
|---|
| Version 2 |
| Kind of conflict |
|---|
| Comment |
| Chunk |
|---|
| Conflicting content |
|---|
to = te-ts;
LineFollower.init();
invoke();
<<<<<<< HEAD
if (Config.MEASURE) { System.out.print("max: "); System.out.println(te-ts-to); }
=======
if (Config.MEASURE) System.out.println(te-ts-to);
>>>>>>> ad585c276e9e798f96c6833f39d344c56bec0f2c
}
static void invoke() { |
| Solution content |
|---|
to = te-ts;
LineFollower.init();
invoke();
if (Config.MEASURE) { System.out.print("max: "); System.out.println(te-ts-to); }
}
static void invoke() { |
| File |
|---|
| StartLineFollower.java |
| Developer's decision |
|---|
| Version 1 |
| Kind of conflict |
|---|
| If statement |
| Chunk |
|---|
| Conflicting content |
|---|
private boolean run() throws InvalidFlowFactException {
/* Initialize */
try {
<<<<<<< HEAD
wcetTool.setTopLevelLogger(exec.getExecLogger());
exec.info("Loading project"); // TODO: Maybe exec can be replaced by something stefan's framework?
wcetTool.initialize(true);
MethodInfo largestMethod = wcetTool.getWCETProcessorModel().getMethodCache().checkCache();
=======
project.setTopLevelLogger(exec.getExecLogger());
exec.info("Loading project");
project.initialize(project.getProjectConfig().doLoadLinkInfo(), true);
MethodInfo largestMethod = project.getWCETProcessorModel().getMethodCache().checkCache();
>>>>>>> ad585c276e9e798f96c6833f39d344c56bec0f2c
int minWords = MiscUtils.bytesToWords(largestMethod.getCode().getNumberOfBytes());
reportMetric("min-cache-size",largestMethod.getFQMethodName(),minWords);
} catch (Exception e) { |
| Solution content |
|---|
private boolean run() throws InvalidFlowFactException {
/* Initialize */
try {
wcetTool.setTopLevelLogger(exec.getExecLogger());
exec.info("Loading project"); // TODO: Maybe exec can be replaced by something stefan's framework?
wcetTool.initialize(wcetTool.getProjectConfig().doLoadLinkInfo(), true);
MethodInfo largestMethod = wcetTool.getWCETProcessorModel().getMethodCache().checkCache();
int minWords = MiscUtils.bytesToWords(largestMethod.getCode().getNumberOfBytes());
reportMetric("min-cache-size",largestMethod.getFQMethodName(),minWords);
} catch (Exception e) { |
| File |
|---|
| WCETAnalysis.java |
| Developer's decision |
|---|
| Manual |
| Kind of conflict |
|---|
| Comment |
| Method invocation |
| Variable |
| Chunk |
|---|
| Conflicting content |
|---|
" to line " + lineRange.first() + " in " + basicBlock.getMethodInfo());
}
<<<<<<< HEAD
for(Entry |
| Solution content |
|---|
" to line " + lineRange.first() + " in " + basicBlock.getMethodInfo());
}
cr.addLineProperty(lineRange.first(), "cost", oldCost + newCost);
for(int i : lineRange) {
cr.addLineProperty(i, "color", "red");
}
}
}
} else {
nodeFlowCostDescrs.put(n, ""+nodeCosts.get(n).getCost());
}
}
}
@Override
public WcetCost computeCostOfNode(CFGNode n ,Context ctx) { |
| File |
|---|
| RecursiveWcetAnalysis.java |
| Developer's decision |
|---|
| Version 2 |
| Kind of conflict |
|---|
| For statement |
| Method invocation |