gdunlap/sched-sim.hg

diff workloads.c @ 2:1d7310217c5a

Add command-line options
author George Dunlap <gdunlap@xensource.com>
date Wed Oct 14 16:12:26 2009 +0100 (2009-10-14)
parents ec2d50e41437
children 92a58ca1e356
line diff
     1.1 --- a/workloads.c	Tue Oct 13 17:29:50 2009 +0100
     1.2 +++ b/workloads.c	Wed Oct 14 16:12:26 2009 +0100
     1.3 @@ -1,3 +1,4 @@
     1.4 +#include <stdlib.h>
     1.5  #include "workload.h"
     1.6  
     1.7  const int default_workload = 0;
     1.8 @@ -87,4 +88,6 @@ struct workload builtin_workloads[] =
     1.9              },
    1.10          }
    1.11      },
    1.12 +    { .name=NULL }
    1.13 +        
    1.14  };