diff options
author | Vincent Guittot <vincent.guittot@linaro.org> | 2014-06-30 11:34:54 +0200 |
---|---|---|
committer | Vincent Guittot <vincent.guittot@linaro.org> | 2014-08-01 15:29:22 +0200 |
commit | c337ace3704c69c673ddc6b4e22d467dae606639 (patch) | |
tree | 4d76e97f0d73accb7244c994df778288add9de1f /doc | |
parent | 415af3f3f631f492525bc149709e2f714e565318 (diff) |
update example file with new capabilities
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/taskset.json | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/taskset.json b/doc/taskset.json index 677409d..80246f5 100644 --- a/doc/taskset.json +++ b/doc/taskset.json @@ -8,15 +8,16 @@ "m1" : { "type" : "mutex" }, "wake" : { "type" : "wait" }, "broad" : { "type" : "broadcast", "target" : "wake" }, + "m2" : { "type" : "mutex" }, }, "tasks" : { "thread0" : { "exec" : 5000, "period" : 5000, "deadline" : 5000, - "lock_order" : ["wait", "m0", "broad"], + "lock_order" : ["wait", "m0", "broad", "m0", "broad"], "resources" : { - "m0" : { "duration" : 1000 }, + "m0" : { "duration" : 500 }, "wait" : { "duration" : 0, "access": ["sync_mutex"] }, "broad" : { "duration" : 0, "access": ["m1"] } } @@ -31,13 +32,15 @@ "trig" : { "duration" : 0, "access": ["sync_mutex"] }, } }, - "thread2" : { + "thread2" : { + "loop" : 100, "exec" : 1000, "period" : 1000, "deadline" : 1000, - "lock_order" : ["wake"], + "lock_order" : [ "m2", "wake", "m2", "wake"], "resources" : { - "wake" : { "duration" : 0, "access": ["m1"] } + "wake" : { "duration" : 0, "access": ["m1"] }, + "m2" : { "duration" : 200 } } }, "thread3" : { |