gdunlap/sched-sim.hg

view workloads.c @ 1:ec2d50e41437

Handle multiple cpus.
author George Dunlap <gdunlap@xensource.com>
date Tue Oct 13 17:29:50 2009 +0100 (2009-10-13)
parents d27bb3c56e71
children 1d7310217c5a
line source
1 #include "workload.h"
3 const int default_workload = 0;
4 struct workload builtin_workloads[] =
5 {
6 {
7 .name="r1",
8 .vm_count=3,
9 .vm_workloads = {
10 { .phase_count = 2,
11 .list = {
12 {
13 .type=PHASE_RUN,
14 .time=70
15 },
16 {
17 .type=PHASE_BLOCK,
18 .time=250
19 },
20 }
21 },
22 { .phase_count = 2,
23 .list = {
24 {
25 .type=PHASE_RUN,
26 .time=500
27 },
28 {
29 .type=PHASE_BLOCK,
30 .time=500
31 },
32 }
33 },
34 { .phase_count = 2,
35 .list = {
36 {
37 .type=PHASE_RUN,
38 .time=1295
39 },
40 {
41 .type=PHASE_BLOCK,
42 .time=5
43 },
44 }
45 },
46 }
47 },
48 {
49 .name="Sx3",
50 .vm_count=3,
51 .vm_workloads = {
52 { .phase_count = 2,
53 .list = {
54 {
55 .type=PHASE_RUN,
56 .time=695
57 },
58 {
59 .type=PHASE_BLOCK,
60 .time=5
61 },
62 }
63 },
64 { .phase_count = 2,
65 .list = {
66 {
67 .type=PHASE_RUN,
68 .time=1095
69 },
70 {
71 .type=PHASE_BLOCK,
72 .time=5
73 },
74 }
75 },
76 { .phase_count = 2,
77 .list = {
78 {
79 .type=PHASE_RUN,
80 .time=1295
81 },
82 {
83 .type=PHASE_BLOCK,
84 .time=5
85 },
86 }
87 },
88 }
89 },
90 };