aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJeremy Erickson <jerickso@cs.unc.edu>2013-01-28 22:28:29 -0500
committerJeremy Erickson <jerickso@cs.unc.edu>2013-01-28 22:28:29 -0500
commit6bb644a69dde49ffc8c3fb484a6a3bf81d21181c (patch)
tree133cbc52dd657efc7ead4c91f89ed5249998416f /bin
parentf8ffc9dd7082a677c7d8027985981d8e319b0817 (diff)
Add support for measurement code from bbbdisswip-splitting-jerickso
Diffstat (limited to 'bin')
-rw-r--r--bin/fmlp_test_task.c2
-rw-r--r--bin/rtspin.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/fmlp_test_task.c b/bin/fmlp_test_task.c
index 0ecd5cc..3500326 100644
--- a/bin/fmlp_test_task.c
+++ b/bin/fmlp_test_task.c
@@ -186,7 +186,7 @@ void* rt_thread(void *tcontext)
186 CALL( init_rt_thread() ); 186 CALL( init_rt_thread() );
187 187
188 ctx->semaphore = open_fmlp_sem(ctx->fd, 0); 188 ctx->semaphore = open_fmlp_sem(ctx->fd, 0);
189 CALL( sporadic_task_ns(ctx->exec, ctx->period, 0, ctx->split, 1, 189 CALL( sporadic_task_ns(ctx->exec, ctx->period, 0, ctx->split, 1, 0,
190 RT_CLASS_HARD, PRECISE_ENFORCEMENT, 1)); 190 RT_CLASS_HARD, PRECISE_ENFORCEMENT, 1));
191 191
192 192
diff --git a/bin/rtspin.c b/bin/rtspin.c
index 1d60524..4acde37 100644
--- a/bin/rtspin.c
+++ b/bin/rtspin.c
@@ -280,7 +280,7 @@ int main(int argc, char** argv)
280 bail_out("could not migrate to target partition"); 280 bail_out("could not migrate to target partition");
281 } 281 }
282 282
283 ret = sporadic_task_ns(wcet, period, 0, split, cpu, class, 283 ret = sporadic_task_ns(wcet, period, 0, split, cpu, 0, class,
284 want_enforcement ? PRECISE_ENFORCEMENT 284 want_enforcement ? PRECISE_ENFORCEMENT
285 : NO_ENFORCEMENT, 285 : NO_ENFORCEMENT,
286 migrate); 286 migrate);