<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Looking at the code in rtspin, it appears the file format is a csv with the following properties:<div>1) Execution time may be expressed in floating point.</div><div>2) Time is in milliseconds by default, but this can be scaled with rtspin's "-s" option.</div><div>3) The user specifies the column in the csv that contains execution times for the task with "-o". I believe the first column of the csv is selected by default.</div><div>4) Each row in the csv denotes the execution time for a job. So, the first row is for job_0, second row is for job_1, etc.</div><div>5) The rtspin will execute N jobs before terminating, where N is the number of rows. There is no "looping back around". I believe this implies that the "duration" argument to rtspin is ignored.</div><div>6) Only job execution times are read from the file.<br><div><div><br></div><div>Pertinent lines of code:</div><div>1) Reading the file: <a href="https://github.com/LITMUS-RT/liblitmus/blob/85cc826d76ad8bcfeb675710c49c410583cc86a9/bin/rtspin.c#L78">https://github.com/LITMUS-RT/liblitmus/blob/85cc826d76ad8bcfeb675710c49c410583cc86a9/bin/rtspin.c#L78</a></div><div>2) Column selection: <a href="https://github.com/LITMUS-RT/liblitmus/blob/85cc826d76ad8bcfeb675710c49c410583cc86a9/bin/rtspin.c#L248">https://github.com/LITMUS-RT/liblitmus/blob/85cc826d76ad8bcfeb675710c49c410583cc86a9/bin/rtspin.c#L248</a></div><div>3) Time unit scaling: <a href="https://github.com/LITMUS-RT/liblitmus/blob/85cc826d76ad8bcfeb675710c49c410583cc86a9/bin/rtspin.c#L374">https://github.com/LITMUS-RT/liblitmus/blob/85cc826d76ad8bcfeb675710c49c410583cc86a9/bin/rtspin.c#L374</a></div><div><div><br></div><div>rtspin's file format is a bit restrictive. It was coded up for a particular paper where job execution times had to vary from job-to-job in a deterministic/repeatable way. I don't know if this format was put in place for the video paper. If so, it was probably done to allow the specification of different execution times for I-, P-, and B-frames. It's not meant to be an alternative method of general use. You may want to explore using input redirection to send regular command line arguments to rtspin (<a href="http://linuxcommand.org/lts0060.php">http://linuxcommand.org/lts0060.php</a>). Of course, you could also modify rtspin to do what you need. The code is relatively straightforward.</div><div><br></div><div>-Glenn</div><div><br></div><div><br><div><div>On Sep 25, 2013, at 12:57 PM, ayoade gbadebo <<a href="mailto:gbaduz@gmail.com">gbaduz@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hello,<div>Please what is the file input format for rtspin application.</div><div>I want to generate a set of random task using file and not command line parameters</div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Tue, Sep 24, 2013 at 9:38 AM, Björn Brandenburg <span dir="ltr"><<a href="mailto:bbb@mpi-sws.org" target="_blank">bbb@mpi-sws.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
On Sep 24, 2013, at 4:07 PM, ayoade gbadebo <<a href="mailto:gbaduz@gmail.com">gbaduz@gmail.com</a>> wrote:<br>
<br>
> I tried comiling the video src from this paper but it complained of deprecated fuctions, do you have any new source I can use ?<br>
><br>
<br>
</div>That code is not part of the LITMUS^RT project and not maintained by us (the project). That said, you could try asking Chris (the first author), who wrote most of the video code if I recall correctly.<br>
<br>
- Björn<br>
<br>
<br>
_______________________________________________<br>
litmus-dev mailing list<br>
<a href="mailto:litmus-dev@lists.litmus-rt.org">litmus-dev@lists.litmus-rt.org</a><br>
<a href="https://lists.litmus-rt.org/listinfo/litmus-dev" target="_blank">https://lists.litmus-rt.org/listinfo/litmus-dev</a><br>
</blockquote></div><br></div>
_______________________________________________<br>litmus-dev mailing list<br><a href="mailto:litmus-dev@lists.litmus-rt.org">litmus-dev@lists.litmus-rt.org</a><br>https://lists.litmus-rt.org/listinfo/litmus-dev<br></blockquote></div><br></div></div></div></div></body></html>