Commit 956c2551 by Michael Schmid

Found error in my model, commit before working

parent 8768d1a4
...@@ -81,7 +81,7 @@ public class MaiaBertogna extends AbstractTest { ...@@ -81,7 +81,7 @@ public class MaiaBertogna extends AbstractTest {
for (Segment s : task.getSegments()) { for (Segment s : task.getSegments()) {
if (s.getNumberOfJobs() >= parallelism + 1) { if (s.getNumberOfJobs() >= parallelism + 1) {
s.getJobWcet(); interference += s.getJobWcet();
} }
} }
......
...@@ -44,7 +44,6 @@ public class SchmidMottok extends AbstractTest { ...@@ -44,7 +44,6 @@ public class SchmidMottok extends AbstractTest {
long responseTime = minimumWcet; long responseTime = minimumWcet;
long previousResponseTime = 0; long previousResponseTime = 0;
do { do {
previousResponseTime = responseTime; previousResponseTime = responseTime;
long interference = 0; long interference = 0;
......
...@@ -62,7 +62,6 @@ public class TestEnvironment { ...@@ -62,7 +62,6 @@ public class TestEnvironment {
checkedTasksets++; checkedTasksets++;
long roundedUtilization = (long) (utilization * 10); long roundedUtilization = (long) (utilization * 10);
for (AbstractTest t : testCases) { for (AbstractTest t : testCases) {
if (t.runSchedulabilityCheck()) { if (t.runSchedulabilityCheck()) {
results.computeIfAbsent(roundedUtilization, results.computeIfAbsent(roundedUtilization,
...@@ -82,7 +81,7 @@ public class TestEnvironment { ...@@ -82,7 +81,7 @@ public class TestEnvironment {
private void logResults(Set<AbstractTest> testCases, private void logResults(Set<AbstractTest> testCases,
Map<Long, Map<AbstractTest, Long>> results) { Map<Long, Map<AbstractTest, Long>> results) {
LocalTime date = LocalTime.now(); LocalTime date = LocalTime.now();
Logger log = new Logger("results_" + systemSetup.getNumberOfProcessors() + "_" Logger log = new Logger("./results/results_" + systemSetup.getNumberOfProcessors() + "_"
+ date.getHour() + ":" + date.getMinute() + ".txt"); + date.getHour() + ":" + date.getMinute() + ".txt");
String firstLine = new String("Utilization"); String firstLine = new String("Utilization");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment