summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorVincent Guittot <vincent.guittot@linaro.org>2015-08-19 18:26:45 +0200
committerVincent Guittot <vincent.guittot@linaro.org>2015-08-24 14:16:24 +0200
commit1eba97039c3f991e35e6004a971506e770e89ac7 (patch)
treeaf94c379ef1e341ebee2a648024a0022663f50f9 /doc
parent4a827b453096a81764843f06c3d9d6cfc58e9987 (diff)
rt-app: update spreading tasks example
Update the spreading-tasks.json example in order to test all possible transition sequence between light and heavy loads of 2 threads. Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/spreading-tasks.json34
1 files changed, 30 insertions, 4 deletions
diff --git a/doc/examples/spreading-tasks.json b/doc/examples/spreading-tasks.json
index 844db44..be78118 100644
--- a/doc/examples/spreading-tasks.json
+++ b/doc/examples/spreading-tasks.json
@@ -1,20 +1,46 @@
{
"tasks" : {
- "thread" : {
- "instance" : 2,
+ "thread1" : {
+ "instance" : 1,
"loop" : -1,
"phases" : {
"light" : {
- "loop" : 600,
+ "loop" : 300,
"run" : 1000,
"timer" : { "ref" : "unique", "period" : 10000 }
},
"heavy" : {
- "loop" : 600,
+ "loop" : 300,
"run" : 7000,
"timer" : { "ref" : "unique", "period" : 10000 }
}
}
+ },
+ "thread2" : {
+ "instance" : 1,
+ "loop" : -1,
+ "phases" : {
+ "light1" : {
+ "loop" : 900,
+ "run" : 1000,
+ "timer" : { "ref" : "unique", "period" : 10000 }
+ },
+ "heavy1" : {
+ "loop" : 600,
+ "run" : 7000,
+ "timer" : { "ref" : "unique", "period" : 10000 }
+ },
+ "light2" : {
+ "loop" : 300,
+ "run" : 1000,
+ "timer" : { "ref" : "unique", "period" : 10000 }
+ },
+ "heavy1" : {
+ "loop" : 600,
+ "run" : 7000,
+ "timer" : { "ref" : "unique", "period" : 10000 }
+ },
+ }
}
},
"global" : {