20,11 → 20,11 |
|
/** |
------------ |
CVS : $Id: rrsoft.c,v 1.4 2003-01-07 17:07:51 pj Exp $ |
CVS : $Id: rrsoft.c,v 1.5 2003-05-01 19:39:35 pj Exp $ |
|
File: $File$ |
Revision: $Revision: 1.4 $ |
Last update: $Date: 2003-01-07 17:07:51 $ |
Revision: $Revision: 1.5 $ |
Last update: $Date: 2003-05-01 19:39:35 $ |
------------ |
|
This file contains the scheduling module RRSOFT (Round Robin) |
163,9 → 163,9 |
the only thing to set remains the capacity stuffs that are set |
to the values passed in the model... */ |
|
if ( !(m->pclass==NRT_PCLASS && lev->models & RRSOFT_ONLY_NRT ) ) return -1; |
if ( !(m->pclass==SOFT_PCLASS && lev->models & RRSOFT_ONLY_SOFT) ) return -1; |
if ( !(m->pclass==HARD_PCLASS && lev->models & RRSOFT_ONLY_HARD) ) return -1; |
if (m->pclass==NRT_PCLASS && !(lev->models & RRSOFT_ONLY_NRT) ) return -1; |
if (m->pclass==SOFT_PCLASS && !(lev->models & RRSOFT_ONLY_SOFT) ) return -1; |
if (m->pclass==HARD_PCLASS && !(lev->models & RRSOFT_ONLY_HARD) ) return -1; |
if (m->level != 0 && m->level != l) return -1; |
|
/* I used the wcet field because using wcet can account if a task |