[LITMUS^RT] Question about how to set task's release time in the base_task.c

Giovani Gracioli giovanig at gmail.com
Mon Oct 8 22:59:39 CEST 2012


I think one possible way to schedule a release of a task is by setting an
alarm. When it triggers, the handler can release a task.

Giovani

On Mon, Oct 8, 2012 at 5:57 PM, Glenn Elliott <gelliott at cs.unc.edu> wrote:

> > Hi all,
> >
> > I want to run a task set in LITMUS. For each task in the task set, I
> want to assign an absolute time for it to release its 1st job. By doing
> that, I can record each job's response time and determine if the task
> misses its deadline or not.
> >
> > I looked around in the liblitmus folder, but didn't find any function
> that can assign a release time for the task.
> >
> > I found the release time of a task is assigned in release_at() in the
> litmus-rt/litmus/job.c file.
> > But I still don't know how to assign the task's release time inside the
> base_task.c file?
> >
> > Can anyone help me?
> >
> > Thank you very much for your time in this question!
> >
> > Best Regards,
> >
> > Meng XU
>
>
> Hi Meng,
>
> Depending upon how you are doing your processing, you may not need to use
> specific release times.  Litmus can be configured to log job release and
> completion times.  There is no need to make these measurements from the
> user-space.
>
> To get logging support, make sure "CONFIG_SCHED_TASK_TRACE=y" in your
> kernel's .config file.  See "Recording Scheduling Traces" here:
> https://wiki.litmus-rt.org/litmus/Tracing
>
> -Glenn
>
>
> _______________________________________________
> litmus-dev mailing list
> litmus-dev at lists.litmus-rt.org
> https://lists.litmus-rt.org/listinfo/litmus-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.litmus-rt.org/pipermail/litmus-dev/attachments/20121008/4329c146/attachment.html>


More information about the litmus-dev mailing list