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
9ad4681d
authored
Oct 01, 2020
by
Michael Schmid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor changes
parent
43947796
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
20 deletions
+4
-20
src/main/java/mvd/jester/App.java
+3
-18
src/main/java/mvd/jester/model/SystemManager.java
+1
-1
src/main/java/mvd/jester/tests/SchmidMottok.java
+0
-1
No files found.
src/main/java/mvd/jester/App.java
View file @
9ad4681d
...
@@ -27,20 +27,6 @@ public class App {
...
@@ -27,20 +27,6 @@ public class App {
SystemManager
<
DagTaskBuilder
>
manager
=
new
SystemManager
<>(
DagTaskBuilder
.
class
);
SystemManager
<
DagTaskBuilder
>
manager
=
new
SystemManager
<>(
DagTaskBuilder
.
class
);
TestEnvironment
te
=
new
TestEnvironment
();
TestEnvironment
te
=
new
TestEnvironment
();
// SchmidMottok sm = new SchmidMottok(new KnownStructure(), manager);
// JiangYi jy = new JiangYi(manager);
// Set<DagTask> set = manager.getBuilder().generateRenyiTaskSet(7.0);
// final SortedTaskSet<DagTask> rmTasks = new SortedTaskSet<>(sm.getPriorityManager());
// rmTasks.addAll(set);
// final SortedTaskSet<DagTask> edfTasks = new SortedTaskSet<>(jy.getPriorityManager());
// edfTasks.addAll(set);
// jy.runSchedulabilityCheck(edfTasks);
// sm.runSchedulabilityCheck(rmTasks);
List
<
AbstractTest
<
DagTask
>>
tests
=
te
.
registerTests
(
Arrays
.
asList
(
List
<
AbstractTest
<
DagTask
>>
tests
=
te
.
registerTests
(
Arrays
.
asList
(
new
SchmidMottok
(
new
KnownStructureWithMaxThreads
(
manager
),
manager
),
new
SchmidMottok
(
new
KnownStructureWithMaxThreads
(
manager
),
manager
),
new
SchmidMottok
(
new
KnownStructure
(),
manager
),
new
SchmidMottok
(
new
KnownStructure
(),
manager
),
...
@@ -51,18 +37,17 @@ public class App {
...
@@ -51,18 +37,17 @@ public class App {
te
.
varyRenyiUtilization
(
manager
,
tests
,
100
);
te
.
varyRenyiUtilization
(
manager
,
tests
,
100
);
}
}
// {
// {
// SystemManager manager = new SystemManager(8);
// SystemManager<DagTaskBuilder> manager = new SystemManager<>(DagTaskBuilder.class);
// DagTaskBuilder builder = new DagTaskBuilder();
// TestEnvironment te = new TestEnvironment();
// TestEnvironment te = new TestEnvironment();
// List<AbstractTest<DagTask>> tests = te.registerTests(Arrays.asList(
// List<AbstractTest<DagTask>> tests = te.registerTests(Arrays.asList(
// new SchmidMottok(new KnownStructureWithMaxThreads(manager), manager),
// new SchmidMottok(new KnownStructureWithMaxThreads(manager), manager),
// new SchmidMottok(new KnownStructure(), manager)
// new SchmidMottok(new KnownStructure(), manager)
// // new MelaniButtazzo(manager)
// // new MelaniButtazzo(manager)
//
//
, new FonsecaNelis(manager)
//
, new FonsecaNelis(manager)
// ));
// ));
//
te.varyUtilization(builder, tests, 8
, 500);
//
te.varyUtilization(manager, tests
, 500);
// }
// }
// {
// {
// SystemManager<DagTaskBuilder> manager = new SystemManager<>(DagTaskBuilder.class);
// SystemManager<DagTaskBuilder> manager = new SystemManager<>(DagTaskBuilder.class);
...
...
src/main/java/mvd/jester/model/SystemManager.java
View file @
9ad4681d
...
@@ -179,7 +179,7 @@ public class SystemManager<T extends Builder> implements SystemManagerInterface
...
@@ -179,7 +179,7 @@ public class SystemManager<T extends Builder> implements SystemManagerInterface
private
long
maxNumberOfThreads
=
numberOfProcessors
;
private
long
maxNumberOfThreads
=
numberOfProcessors
;
private
long
depth
=
2
;
private
long
depth
=
2
;
private
long
p_par
=
80
;
private
long
p_par
=
80
;
private
long
p_add
=
20
;
// TODO: Change back to 0.2
private
long
p_add
=
20
;
public
DagTaskBuilder
()
{
public
DagTaskBuilder
()
{
}
}
...
...
src/main/java/mvd/jester/tests/SchmidMottok.java
View file @
9ad4681d
...
@@ -11,7 +11,6 @@ import mvd.jester.model.SystemManagerInterface;
...
@@ -11,7 +11,6 @@ import mvd.jester.model.SystemManagerInterface;
import
mvd.jester.model.Task
;
import
mvd.jester.model.Task
;
import
mvd.jester.priority.PriorityManager
;
import
mvd.jester.priority.PriorityManager
;
import
mvd.jester.priority.RateMonotonic
;
import
mvd.jester.priority.RateMonotonic
;
import
mvd.jester.tests.TypeFunction.KnownStructureWithMaxThreads
;
/**
/**
* SchmidMottok
* SchmidMottok
...
...
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