diff options
author | Xunlei Pang <pang.xunlei@linaro.org> | 2015-04-15 16:55:40 +0800 |
---|---|---|
committer | Vincent Guittot <vincent.guittot@linaro.org> | 2015-05-18 09:37:55 +0200 |
commit | aca529ad24f59029fe0b443f7d46596b76531b69 (patch) | |
tree | a4893d4b51b936273db29e064a70ee9a25f4732b /doc | |
parent | c4e473bc776a5be40b28ad40fa67eb2cb94528d9 (diff) |
rt-app: add new spreading-tasks.json
Add new spreading-tasks.json in doc/examples.
It create 2 threads made of a 1st phase with small load
(10% as an example) followed by a phase with a large load
(70% as an example). Each phase lasts 6sec to let system
stabilize.
Signed-off-by: Xunlei Pang <pang.xunlei@linaro.org>
Acked-by: Vincent Guittot <vincent.guittot@linaro.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/spreading-tasks.json | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/examples/spreading-tasks.json b/doc/examples/spreading-tasks.json new file mode 100644 index 0000000..844db44 --- /dev/null +++ b/doc/examples/spreading-tasks.json @@ -0,0 +1,26 @@ +{ + "tasks" : { + "thread" : { + "instance" : 2, + "loop" : -1, + "phases" : { + "light" : { + "loop" : 600, + "run" : 1000, + "timer" : { "ref" : "unique", "period" : 10000 } + }, + "heavy" : { + "loop" : 600, + "run" : 7000, + "timer" : { "ref" : "unique", "period" : 10000 } + } + } + } + }, + "global" : { + "duration" : 60, + "default_policy" : "SCHED_OTHER", + "calibration" : "CPU0" + } +} + |