gdunlap/sched-sim.hg

diff simulator.c @ 5:18f3d6e25ffc

Add credit01 scheduler
author George Dunlap <gdunlap@xensource.com>
date Mon Oct 19 20:14:47 2009 +0100 (2009-10-19)
parents d957708efa86
children 403bd7680df6
line diff
     1.1 --- a/simulator.c	Mon Oct 19 20:12:54 2009 +0100
     1.2 +++ b/simulator.c	Mon Oct 19 20:14:47 2009 +0100
     1.3 @@ -57,10 +57,12 @@ struct global_vm_data {
     1.4  struct global_vm_data V;
     1.5  
     1.6  extern struct scheduler sched_rr;
     1.7 +extern struct scheduler sched_credit01;
     1.8  int default_scheduler = 0;
     1.9  struct scheduler *schedulers[] =
    1.10  {
    1.11      &sched_rr,
    1.12 +    &sched_credit01,
    1.13      NULL
    1.14  };
    1.15