Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 387 → Rev 445

/shark/trunk/kernel/modules/edf.c
20,11 → 20,11
 
/**
------------
CVS : $Id: edf.c,v 1.11 2004-01-08 20:21:14 giacomo Exp $
CVS : $Id: edf.c,v 1.12 2004-02-10 17:50:04 giacomo Exp $
 
File: $File$
Revision: $Revision: 1.11 $
Last update: $Date: 2004-01-08 20:21:14 $
Revision: $Revision: 1.12 $
Last update: $Date: 2004-02-10 17:50:04 $
------------
 
This file contains the scheduling module EDF (Earliest Deadline First)
146,6 → 146,7
 
default:
/* else, a deadline miss occurred!!! */
TRACER_LOGEVENT(FTrace_EVT_task_deadline_miss,1,proc_table[p].context,0);
kern_raise(XDEADLINE_MISS,p);
}
}
157,6 → 158,7
#ifdef EDF_DEBUG
edf_printf("(EDF:AAARRRGGGHHH!!!)");
#endif
TRACER_LOGEVENT(FTrace_EVT_task_deadline_miss,1,proc_table[p].context,0);
kern_raise(XDEADLINE_MISS,p);
}
 
268,6 → 270,7
/* check if the wcet is finished... */
if ((lev->flags & EDF_ENABLE_WCET_CHECK) && proc_table[p].avail_time <= 0) {
/* if it is, raise a XWCET_VIOLATION exception */
TRACER_LOGEVENT(FTrace_EVT_task_wcet_violation,1,proc_table[p].context,0);
kern_raise(XWCET_VIOLATION,p);
proc_table[p].status = EDF_WCET_VIOLATED;
}