Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Tobias Langer
/
experiment
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
193fa296
authored
Nov 21, 2016
by
Tobias Langer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed taskset generation.
parent
dd0d71a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
tasksetgen.py
+4
-4
No files found.
tasksetgen.py
View file @
193fa296
...
...
@@ -196,11 +196,11 @@ def main():
tasksets
.
append
(
taskset
)
else
:
taskset_util
=
calc_utilization
(
taskset
)
while
taskset_util
<
utility
[
0
]
and
taskset_util
<
utility
[
1
]:
while
taskset_util
<
utility
[
1
]:
taskset
.
append
(
create_task
(
distribution
))
if
taskset_util
<
utility
[
1
]:
if
len
(
taskset
)
>=
args
.
cores
+
1
:
tasksets
.
append
(
taskset
)
if
taskset_util
>=
utility
[
0
]:
if
len
(
taskset
)
>=
args
.
cores
+
1
:
tasksets
.
append
(
taskset
)
now
=
datetime
.
datetime
.
now
()
...
...
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