aboutsummaryrefslogtreecommitdiffstats
path: root/bin/rtspin.c
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@koruna.cs.unc.edu>2010-05-20 14:17:58 -0400
committerGlenn Elliott <gelliott@koruna.cs.unc.edu>2010-05-20 14:17:58 -0400
commite9c900fae35e4e4730469e189ff17bf30518346a (patch)
tree73d399b98f831fae4a7251a7d3d143ac044d6684 /bin/rtspin.c
parent09740315d4b914203c25c56e8f8909b4fae7b32d (diff)
Support budget enforcement policies. Allows tasks to specify
how their execution budgets should be enforced: NO_ENFORCEMENT, QUANTUM_ENFORCEMENT, and PRECISE_ENFORCEMENT (unsupported). NOTE: Users of NO_ENFORCEMENT must call sleep_next_period() at the end of every job to signal to the kernel that its job is complete.
Diffstat (limited to 'bin/rtspin.c')
-rw-r--r--bin/rtspin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/rtspin.c b/bin/rtspin.c
index aa97745..f291869 100644
--- a/bin/rtspin.c
+++ b/bin/rtspin.c
@@ -221,7 +221,7 @@ int main(int argc, char** argv)
221 bail_out("could not migrate to target partition"); 221 bail_out("could not migrate to target partition");
222 } 222 }
223 223
224 ret = sporadic_task_ns(wcet, period, 0, cpu, class, migrate); 224 ret = sporadic_task_ns(wcet, period, 0, cpu, class, NO_ENFORCEMENT, migrate);
225 225
226 if (ret < 0) 226 if (ret < 0)
227 bail_out("could not setup rt task params"); 227 bail_out("could not setup rt task params");