Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pmtool
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Merge Requests
0
Merge Requests
0
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
EYRAUD-DUBOIS Lionel
pmtool
Commits
80c12727
Commit
80c12727
authored
Jun 18, 2019
by
EYRAUD-DUBOIS Lionel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix
parent
d4282aec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
schedulers/OnlineGeneric.cpp
schedulers/OnlineGeneric.cpp
+3
-0
No files found.
schedulers/OnlineGeneric.cpp
View file @
80c12727
...
...
@@ -14,8 +14,11 @@ double OnlineGeneric::compute(Instance &instance, SchedAction *action) {
instance
.
getRevDependencies
();
readyTasks
=
priority_queue
<
taskAndReadyTime
,
vector
<
taskAndReadyTime
>
,
greater
<
taskAndReadyTime
>>
();
finishTimes
.
clear
();
finishTimes
.
resize
(
instance
.
totalWorkers
,
0
);
readyTimes
.
clear
();
readyTimes
.
resize
(
instance
.
nbTasks
,
-
1
);
nbScheduledPredecessors
.
clear
();
nbScheduledPredecessors
.
resize
(
instance
.
nbTasks
,
0
);
for
(
int
t
=
0
;
t
<
instance
.
nbTasks
;
++
t
)
{
...
...
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