Commit 956c2551 by Michael Schmid

Found error in my model, commit before working

parent 8768d1a4
......@@ -81,7 +81,7 @@ public class MaiaBertogna extends AbstractTest {
for (Segment s : task.getSegments()) {
if (s.getNumberOfJobs() >= parallelism + 1) {
s.getJobWcet();
interference += s.getJobWcet();
}
}
......
......@@ -44,7 +44,6 @@ public class SchmidMottok extends AbstractTest {
long responseTime = minimumWcet;
long previousResponseTime = 0;
do {
previousResponseTime = responseTime;
long interference = 0;
......
......@@ -62,7 +62,6 @@ public class TestEnvironment {
checkedTasksets++;
long roundedUtilization = (long) (utilization * 10);
for (AbstractTest t : testCases) {
if (t.runSchedulabilityCheck()) {
results.computeIfAbsent(roundedUtilization,
......@@ -82,7 +81,7 @@ public class TestEnvironment {
private void logResults(Set<AbstractTest> testCases,
Map<Long, Map<AbstractTest, Long>> results) {
LocalTime date = LocalTime.now();
Logger log = new Logger("results_" + systemSetup.getNumberOfProcessors() + "_"
Logger log = new Logger("./results/results_" + systemSetup.getNumberOfProcessors() + "_"
+ date.getHour() + ":" + date.getMinute() + ".txt");
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