gdunlap/sched-sim.hg

diff workloads.c @ 0:d27bb3c56e71

Inital commit.
author George Dunlap <gdunlap@xensource.com>
date Tue Oct 13 16:06:36 2009 +0100 (2009-10-13)
parents
children ec2d50e41437
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/workloads.c	Tue Oct 13 16:06:36 2009 +0100
     1.3 @@ -0,0 +1,48 @@
     1.4 +#include "workload.h"
     1.5 +
     1.6 +const int default_workload = 0;
     1.7 +struct workload builtin_workloads[] =
     1.8 +{
     1.9 +    {
    1.10 +        .name="Sx3",
    1.11 +        .vm_count=3,
    1.12 +        .vm_workloads = {
    1.13 +            { .phase_count = 2,
    1.14 +              .list = {
    1.15 +                    {
    1.16 +                    .type=PHASE_RUN,
    1.17 +                    .time=695
    1.18 +                    },
    1.19 +                    {
    1.20 +                    .type=PHASE_BLOCK,
    1.21 +                    .time=5
    1.22 +                    },
    1.23 +                }
    1.24 +            },
    1.25 +            { .phase_count = 2,
    1.26 +              .list = {
    1.27 +                    {
    1.28 +                    .type=PHASE_RUN,
    1.29 +                    .time=1095
    1.30 +                    },
    1.31 +                    {
    1.32 +                    .type=PHASE_BLOCK,
    1.33 +                    .time=5
    1.34 +                    },
    1.35 +                }
    1.36 +            },
    1.37 +            { .phase_count = 2,
    1.38 +              .list = {
    1.39 +                    {
    1.40 +                    .type=PHASE_RUN,
    1.41 +                    .time=1295
    1.42 +                    },
    1.43 +                    {
    1.44 +                    .type=PHASE_BLOCK,
    1.45 +                    .time=5
    1.46 +                    },
    1.47 +                }
    1.48 +            },
    1.49 +        }
    1.50 +    },
    1.51 +};