aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Kenna <cjk@cs.unc.edu>2011-10-13 15:50:27 -0400
committerChristopher Kenna <cjk@cs.unc.edu>2011-10-13 15:50:27 -0400
commita24a2200a047776737f9629f41a28c0d3027476b (patch)
tree95da6c34c7d3fe840d393884a2e7967ad02b9ccd
parent4b76975731431458e78b649b04e682a8516a07da (diff)
allow beta-tasks to run longer than their wcet.
-rw-r--r--bin/rtspin.beta.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/rtspin.beta.c b/bin/rtspin.beta.c
index 852b421..f7f9e0e 100644
--- a/bin/rtspin.beta.c
+++ b/bin/rtspin.beta.c
@@ -257,8 +257,6 @@ int main(int argc, char** argv)
257 do { 257 do {
258 beta_sample = gsl_ran_beta(beta_rng, alpha, beta); 258 beta_sample = gsl_ran_beta(beta_rng, alpha, beta);
259 exec_time = wcet * beta_sample * scale; 259 exec_time = wcet * beta_sample * scale;
260 if (exec_time > wcet)
261 exec_time = wcet;
262 /* convert to seconds */ 260 /* convert to seconds */
263 exec_time = exec_time * 0.000000001; 261 exec_time = exec_time * 0.000000001;
264 } while(job(exec_time, start + duration)); 262 } while(job(exec_time, start + duration));