summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorVincent Guittot <vincent.guittot@linaro.org>2014-07-01 11:09:56 +0200
committerVincent Guittot <vincent.guittot@linaro.org>2014-08-01 15:30:28 +0200
commit0b916c04797503ecea8d9cdb13928885e1b6387c (patch)
tree0505950110982b0ffb93a23c1b319822b7422c56 /doc
parent832c5deec669da81ac9ebb9ba2c616b9ddaae385 (diff)
update example file with more capabilities
update the example file to show all the capabilities Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/taskset.json24
1 files changed, 14 insertions, 10 deletions
diff --git a/doc/taskset.json b/doc/taskset.json
index 2767e1b..1384783 100644
--- a/doc/taskset.json
+++ b/doc/taskset.json
@@ -19,6 +19,7 @@
"exec" : 1000,
"period" : 20000,
"deadline" : 8000,
+ "cpus" : [0],
"lock_order" : ["r1", "m0", "trig"],
"resources" : {
"r1" : { "duration" : 200 },
@@ -28,22 +29,22 @@
},
"thread1" : {
"exec" : 5000,
- "period" : 5000,
- "deadline" : 5000,
+ "period" : 20000,
+ "sleep" : false,
"lock_order" : ["wait", "m0", "broad", "r1", "broad"],
"resources" : {
"wait" : { "duration" : 0, "access": ["sync_mutex"] },
- "m0" : { "duration" : 500 },
- "broad" : { "duration" : 0, "access": ["m1"] },
+ "m0" : { "duration" : 1000 },
+ "broad" : { "duration" : 0},
"r1" : { "duration" : 1000 },
}
},
"thread2" : {
"loop" : 100,
"exec" : 1000,
- "period" : 1000,
- "deadline" : 1000,
- "lock_order" : [ "m2", "wake", "m2", "wake"],
+ "period" : 20000,
+ "sleep" : false,
+ "lock_order" : ["wake", "m2", "wake", "m2"],
"resources" : {
"wake" : { "duration" : 0, "access": ["m1"] },
"m2" : { "duration" : 200 },
@@ -51,14 +52,17 @@
},
"thread3" : {
"exec" : 1000,
- "period" : 1000,
- "deadline" : 1000,
- "lock_order" : ["wake", "r1", "s1", "r2" ],
+ "period" : 20000,
+ "deadline" : 15000,
+ "delay" : 15000,
+ "sleep" : true,
+ "lock_order" : ["r1", "s1", "r1", "s2", "r2" ],
"resources" : {
"wake" : { "duration" : 0, "access": ["m1"] },
"r1" : { "duration" : 200 },
"s1" : { "duration" : 2000 },
"r2" : { "duration" : 200 },
+ "s2" : { "duration" : 1000 },
}
},
},