diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-07-16 20:28:56 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2012-08-01 02:46:21 -0400 |
commit | c84c35511dcc32262e12b8a4e99b4e678a433371 (patch) | |
tree | be8deabc38d59dd1d077a8dd4c65c89ba1fdfecc /src | |
parent | 8afa727c28064c7672f656b889d8049b49370139 (diff) |
API Update: Support arbitrary deadlines.
Updated APIs to support arbitrary deadlines. Added macros for implicit
deadlines.
Note: Had to tweak Makefile to support gcc version >= 4.6 (moved -lrt to the
end of the link command).
Diffstat (limited to 'src')
-rw-r--r-- | src/litmus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/litmus.c b/src/litmus.c index 33937c8..b32254b 100644 --- a/src/litmus.c +++ b/src/litmus.c | |||
@@ -105,6 +105,7 @@ int sporadic_task_ns(lt_t e, lt_t p, lt_t phase, | |||
105 | 105 | ||
106 | param.exec_cost = e; | 106 | param.exec_cost = e; |
107 | param.period = p; | 107 | param.period = p; |
108 | param.relative_deadline = p; /* implicit deadline */ | ||
108 | param.cpu = cpu; | 109 | param.cpu = cpu; |
109 | param.cls = cls; | 110 | param.cls = cls; |
110 | param.phase = phase; | 111 | param.phase = phase; |