diff options
author | Vincent Guittot <vincent.guittot@linaro.org> | 2015-03-24 09:34:45 +0100 |
---|---|---|
committer | Vincent Guittot <vincent.guittot@linaro.org> | 2015-03-24 11:42:54 +0100 |
commit | 57f003b914ff2b75e53f0ad016bdfec1d695918b (patch) | |
tree | 5091323cdb5db3a85f6114dd038b090b8bc382dd | |
parent | a246a4d94488dafce30e719f0201d7ae166c882b (diff) |
rt-app: update tutorial examples
Update the example to be aligned wit the tutorial document
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
-rw-r--r-- | doc/examples/tutorial/example1.json | 15 | ||||
-rw-r--r-- | doc/examples/tutorial/example2.json | 15 | ||||
-rw-r--r-- | doc/examples/tutorial/example3.json | 11 |
3 files changed, 32 insertions, 9 deletions
diff --git a/doc/examples/tutorial/example1.json b/doc/examples/tutorial/example1.json index df4df4f..4ae2914 100644 --- a/doc/examples/tutorial/example1.json +++ b/doc/examples/tutorial/example1.json @@ -6,8 +6,19 @@ "tasks" : { "thread0" : { "loop" : -1, - "run" : 1000, - "sleep" : 9000 + "run" : 20000, + "sleep" : 80000 } + }, + "global" : { + "duration" : 2, + "calibration" : "CPU0", + "default_policy" : "SCHED_OTHER", + "pi_enabled" : false, + "lock_pages" : false, + "logdir" : "./", + "log_basename" : "rt-app1", + "ftrace" : true, + "gnuplot" : true, } } diff --git a/doc/examples/tutorial/example2.json b/doc/examples/tutorial/example2.json index ff142c9..08b757e 100644 --- a/doc/examples/tutorial/example2.json +++ b/doc/examples/tutorial/example2.json @@ -7,8 +7,19 @@ "thread0" : { "instance" : 1, "loop" : -1, - "run" : 1000, - "timer" : { "ref" : "unique", "period" : 10000 } + "run" : 20000, + "timer" : { "ref" : "unique", "period" : 100000 } } + }, + "global" : { + "duration" : 2, + "calibration" : "CPU0", + "default_policy" : "SCHED_OTHER", + "pi_enabled" : false, + "lock_pages" : false, + "logdir" : "./", + "log_basename" : "rt-app2", + "ftrace" : true, + "gnuplot" : true, } } diff --git a/doc/examples/tutorial/example3.json b/doc/examples/tutorial/example3.json index 4ec6e0d..7dbd94c 100644 --- a/doc/examples/tutorial/example3.json +++ b/doc/examples/tutorial/example3.json @@ -5,17 +5,18 @@ */ "tasks" : { "thread0" : { + "instance" : 12, "loop" : 1, "phases" : { "light" : { - "loop" : 100, + "loop" : 10, "run" : 1000, - "timer" : { "ref" : "tick", "period" : 10000 } + "timer" : { "ref" : "unique", "period" : 30000 } }, "heavy" : { - "loop" : 100, - "run" : 9000, - "timer" : { "ref" : "tick", "period" : 10000 } + "loop" : 10, + "run" : 4000, + "timer" : { "ref" : "unique", "period" : 30000 } } } } |