plan 9 kernel history: overview | file list | diff list

2002/0420/port/edf.c (diff list | history)

2002/0411/sys/src/9/port/edf.c:40,452002/0420/sys/src/9/port/edf.c:40,46 (short | long | prev | next)
2002/0315    
Resource		resources[Maxresources]; 
int			nresources; 
2002/0410    
int			edfstateupdate; 
2002/0420    
int			misseddeadlines; 
2002/0315    
 
enum{ 
	Deadline,	/* Invariant for schedulability test: Deadline < Release */ 
2002/0411/sys/src/9/port/edf.c:465,4702002/0420/sys/src/9/port/edf.c:466,473
2002/0315    
	 
			if (t->d <= now || t->S == 0LL){ 
				/* Task has reached its deadline/slice, remove from queue */ 
2002/0420    
				if (t->S > 0LL) 
					misseddeadlines++; 
2002/0410    
				deadline(up, SSlice); 
2002/0315    
				while (t = edfstack[m->machno].head){ 
					if (now < t->d) 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)