summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorVincent Guittot <vincent.guittot@linaro.org>2014-08-01 15:26:23 +0200
committerVincent Guittot <vincent.guittot@linaro.org>2014-08-01 15:43:46 +0200
commitc87cce1672a5f69bb8559fa22d589727135862f1 (patch)
treef752522f9339da0a367dd515eefdd254425bc862 /doc
parentbdfc110ec7d3efda1428abc3195a9e9da3cad3dc (diff)
update taskset.json
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/taskset.json82
1 files changed, 46 insertions, 36 deletions
diff --git a/doc/taskset.json b/doc/taskset.json
index 8f5d6e6..de1c46a 100644
--- a/doc/taskset.json
+++ b/doc/taskset.json
@@ -1,51 +1,48 @@
{
- /*"resources" : 4,*/
- "resources" : {
- "trig1_mutex" : { "type" : "mutex" },
- "wait1" : { "type" : "wait" },
- "trig1" : { "type" : "signal", "target" : "wait1" },
- "trig2_mutex" : { "type" : "mutex" },
- "wait2" : { "type" : "wait" },
- "trig2" : { "type" : "signal", "target" : "wait2" },
- "trig3_mutex" : { "type" : "mutex" },
- "wait3" : { "type" : "wait" },
- "trig3" : { "type" : "signal", "target" : "wait3" },
- "sync3" : { "type" : "sync", "target" : "wait3" },
- "trig4_mutex" : { "type" : "mutex" },
- "wait4" : { "type" : "wait" },
- "trig4" : { "type" : "signal", "target" : "wait4" },
- "r0" : { "type" : "run" },
- },
"tasks" : {
- "AudioOut" : {
+ "ThreadA" : {
"exec" : 5000,
"period" : 24000,
- "deadline" : 24000,
"priority" : -19,
"cpus": [0],
"lock_order" : ["r0", "trig1"],
"resources" : {
- "r0" : { "duration" : 275 },
+ "r0" : { "duration" : 1000 },
"trig1" : { "duration" : 0 },
}
},
- "AudioTrack" : {
- "exec" : 300,
- "period" : 24000,
- "deadline" : 24000,
+ "ThreadB" : {
"priority" : -16,
- "sleep" : false,
- "lock_order" : ["wait1", "r0", "trig2"],
- "resources" : {
- "wait1" : { "duration" : 0, "access": ["trig1_mutex"] },
- "r0" : { "duration" : 300 },
- "trig2" : { "duration" : 0 },
- }
+ "phases" : {
+ "phase1" : {
+ "exec" : 300,
+ "period" : 24000,
+ "sleep" : false,
+ "loop" : 1,
+ "lock_order" : ["wait1", "r0", "trig2"],
+ "resources" : {
+ "wait1" : { "duration" : 0, "access": ["trig1_mutex"] },
+ "r0" : { "duration" : 300 },
+ "trig2" : { "duration" : 0 },
+ }
+ },
+ "phase2" : {
+ "exec" : 4000,
+ "period" : 24000,
+ "loop" : 2,
+ "sleep" : false,
+ "lock_order" : ["wait1", "r0", "trig2"],
+ "resources" : {
+ "wait1" : { "duration" : 0, "access": ["trig1_mutex"] },
+ "r0" : { "duration" : 300 },
+ "trig2" : { "duration" : 0 },
+ }
+ },
+ }
},
- "mp3.decoder" : {
+ "ThreadC" : {
"exec" : 1150,
"period" : 24000,
- "deadline" : 24000,
"priority" : -2,
"sleep" : false,
"lock_order" : ["wait2", "r0", "sync3"],
@@ -55,7 +52,7 @@
"sync3" : { "duration" : 0, "access": ["trig3_mutex"] },
}
},
- "OMXCall" : {
+ "ThreadD" : {
"exec" : 300,
"period" : 24000,
"deadline" : 24000,
@@ -69,11 +66,24 @@
}
},
},
+ "resources" : {
+ "trig1_mutex" : { "type" : "mutex" },
+ "wait1" : { "type" : "wait" },
+ "trig1" : { "type" : "signal", "target" : "wait1" },
+ "trig2_mutex" : { "type" : "mutex" },
+ "wait2" : { "type" : "wait" },
+ "trig2" : { "type" : "signal", "target" : "wait2" },
+ "trig3_mutex" : { "type" : "mutex" },
+ "wait3" : { "type" : "wait" },
+ "trig3" : { "type" : "signal", "target" : "wait3" },
+ "sync3" : { "type" : "sync", "target" : "wait3" },
+ "r0" : { "type" : "run" },
+ },
"global" : {
"default_policy" : "SCHED_OTHER",
"duration" : 5,
- "ftrace" : true,
- "gnuplot" : true,
+ "ftrace" : false,
+ "gnuplot" : false,
"logdir" : "/tmp/",
"log_basename" : "rt-app",
"lock_pages" : true,