Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
las3_pub
/
jester
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
956c2551
authored
Jul 16, 2019
by
Michael Schmid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Found error in my model, commit before working
parent
8768d1a4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
4 deletions
+2
-4
src/main/java/mvd/jester/tests/MaiaBertogna.java
+1
-1
src/main/java/mvd/jester/tests/SchmidMottok.java
+0
-1
src/main/java/mvd/jester/tests/TestEnvironment.java
+1
-2
No files found.
src/main/java/mvd/jester/tests/MaiaBertogna.java
View file @
956c2551
...
@@ -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
();
}
}
}
}
...
...
src/main/java/mvd/jester/tests/SchmidMottok.java
View file @
956c2551
...
@@ -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
;
...
...
src/main/java/mvd/jester/tests/TestEnvironment.java
View file @
956c2551
...
@@ -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"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment