Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 352 → Rev 353

/shark/trunk/kernel/modules/rr.c
20,11 → 20,11
 
/**
------------
CVS : $Id: rr.c,v 1.5 2003-04-28 11:52:05 giacomo Exp $
CVS : $Id: rr.c,v 1.6 2003-12-10 16:55:00 giacomo Exp $
 
File: $File$
Revision: $Revision: 1.5 $
Last update: $Date: 2003-04-28 11:52:05 $
Revision: $Revision: 1.6 $
Last update: $Date: 2003-12-10 16:55:00 $
------------
 
This file contains the scheduling module RR (Round Robin)
60,8 → 60,9
#include <kernel/descr.h>
#include <kernel/var.h>
#include <kernel/func.h>
#include <kernel/trace.h>
 
#include <tracer.h>
 
//#define RRDEBUG
 
#define rr_printf kern_printf
245,7 → 246,7
proc_table[p].status = SLEEP;
 
jet_update_endcycle(); /* Update the Jet data... */
trc_logevent(TRC_ENDCYCLE,&exec_shadow); /* tracer stuff */
TRACER_LOGEVENT(FTrace_EVT_task_end_cycle,3,p,l); /* tracer stuff */
 
#ifdef RRDEBUG
rr_printf("(msg%d)",p);