Skip to content
Snippets Groups Projects
Commit 3af76fc4 authored by Christian Wulf's avatar Christian Wulf
Browse files

fixed bug in OldPipeline;

adapted expected performance results
parent 2d77ef46
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ public class ChwHomeComparisonMethodcallWithPorts extends AbstractProfiledPerfor
// check speedup
assertEquals(2, (double) test19a.overallDurationInNs / test19b.overallDurationInNs, 0.3);
assertEquals(2.5, (double) test19a.overallDurationInNs / test19c.overallDurationInNs, 0.3);
assertEquals(2, (double) test19b.overallDurationInNs / test19c.overallDurationInNs, 0.3);
}
}
......@@ -56,7 +56,7 @@ class ChwHomePerformanceCheck extends AbstractPerformanceCheck {
// since 13.12.2014 (incl.)
// assertEquals(40, medianSpeedup, 3.2); // -11
// since 28.12.2014 (incl.)
assertEquals(24, medianSpeedup, 3.2); // -16
assertEquals(26, medianSpeedup, 3.2); // -14
}
private void checkOrderedGrowableArrayPipes() {
......
......@@ -62,6 +62,11 @@ public class OldPipeline<FirstStage extends Stage, LastStage extends Stage> exte
return firstStage.getOwningThread();
}
@Override
void setOwningThread(final Thread owningThread) {
firstStage.setOwningThread(owningThread);
}
@Override
public TerminationStrategy getTerminationStrategy() {
return firstStage.getTerminationStrategy();
......
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