Update the spreading-tasks.json example in order to test all possible transition sequences between light and heavy loads of 2 threads.
Signed-off-by: Vincent Guittot vincent.guittot@linaro.org --- doc/examples/spreading-tasks.json | 34 ++++++++++++++++++++++++++++++---- 1 file 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" : {