Messages in this thread | | | Date | Tue, 24 Apr 2012 00:25:35 +0100 | From | Tommaso Cucinotta <> | Subject | Re: [PATCH 05/16] sched: SCHED_DEADLINE policy implementation. |
| |
Il 23/04/2012 22:45, Peter Zijlstra ha scritto: > On Mon, 2012-04-23 at 22:25 +0100, Tommaso Cucinotta wrote: >> I cannot get the real difference between rq->clock and rq->task_clock. > One runs at wall-time (rq->clock) the other excludes time in irq-context > and steal-time (rq->clock_task). > > The idea is that ->clock_task gives the time as observed by schedulable > tasks and excludes other muck.
so clock_task might be better to compute the consumed budget at task deschedule, but for setting deadlines one period ahead in the future guess the regular wall-time rq->clock is the one to be used?
Thx,
T.
-- Tommaso Cucinotta, Computer Engineering PhD, Researcher ReTiS Lab, Scuola Superiore Sant'Anna, Pisa, Italy Tel +39 050 882 024, Fax +39 050 882 003 http://retis.sssup.it/people/tommaso
| |