<div dir="ltr">Hi, litmus developers:<div><br></div><div>I am trying to understand the rtspin program and have some question about it.</div><div><br></div><div>1) Seems it will read execution time from a file. Is this the execution time for each individual job? Is there any sample file for this? How should I format the file?<br>
</div><div style><br></div><div style>2) The budget enforcement, if configured as precise_enforcement, will force job to yield when it exceed wcet. </div><div style>However, if I configure it as no_enforcement, the wcet parameter won't be used. cause the scheduling decision are made based on period/deadline, is this correct?</div>
<div style><br></div><div style>3) Is it possible to run multiple rtspin task at the same time? I see it records time using:</div><div style><div><span class="" style="white-space:pre"><br></span></div><div><span class="" style="white-space:pre"> </span>while (now + last_loop < start + exec_time) {</div>
<div><span class="" style="white-space:pre"> </span>loop_start = now;</div><div><span class="" style="white-space:pre"> </span>tmp += loop_once();</div><div><span class="" style="white-space:pre"> </span>now = cputime();</div>
<div><span class="" style="white-space:pre"> </span>last_loop = now - loop_start;</div><div><br></div><div style>If multiple tasks are running, would't the time be incorrect?</div><div style><br></div><div style><br>
</div><div style>Thanks very much!</div><div style><br></div><div style>Sisu</div></div><div style><br></div><div style><br></div><div>-- <br>Sisu Xi, PhD Candidate<br><br><a href="http://www.cse.wustl.edu/~xis/" target="_blank">http://www.cse.wustl.edu/~xis/</a><br>
Department of Computer Science and Engineering<br>Campus Box 1045<br>Washington University in St. Louis<br>One Brookings Drive<br>St. Louis, MO 63130
</div></div>