Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
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
c928c9f8
authored
Aug 19, 2016
by
Tobias Langer
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added GEDF-Scheduler function.
parent
5d6e1751
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
mtapi_c/src/embb_mtapi_scheduler_t.c
+24
-0
No files found.
mtapi_c/src/embb_mtapi_scheduler_t.c
View file @
c928c9f8
...
...
@@ -169,6 +169,24 @@ embb_mtapi_task_t * embb_mtapi_scheduler_get_next_task_lf(
return
task
;
}
#ifdef EMBB_HARD_REALTIME
embb_mtapi_task_t
*
embb_mtapi_scheduler_get_next_task_gedf
(
embb_mtapi_scheduler_t
*
that
,
embb_mtapi_node_t
*
node
,
embb_mtapi_thread_context_t
*
thread_context
)
{
embb_mtapi_task_t
*
task
=
MTAPI_NULL
;
EMBB_UNUSED
(
thread_context
);
assert
(
MTAPI_NULL
!=
that
);
assert
(
MTAPI_NULL
!=
node
);
task
=
embb_mtapi_task_queue_pop
(
&
node
->
global_task_queue
);
return
task
;
}
#endif
/*EMBB_HARD_REALTIME*/
embb_mtapi_task_t
*
embb_mtapi_scheduler_get_next_task
(
embb_mtapi_scheduler_t
*
that
,
embb_mtapi_node_t
*
node
,
...
...
@@ -188,6 +206,12 @@ embb_mtapi_task_t * embb_mtapi_scheduler_get_next_task(
task
=
embb_mtapi_scheduler_get_next_task_vhpf
(
that
,
node
,
thread_context
);
break
;
#ifdef EMBB_HARD_REALTIME
case
GLOBAL_EDF
:
task
=
embb_mtapi_scheduler_get_next_task_gedf
(
that
,
node
,
thread_context
);
break
;
#endif
/*EMBB_HARD_REALTIME*/
case
NUM_SCHEDULER_MODES
:
default:
embb_mtapi_log_error
(
...
...
Tobias Langer
@lat39910
mentioned in issue
#4 (closed)
Aug 19, 2016
mentioned in issue
#4 (closed)
mentioned in issue #4
Toggle commit list
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