add a template.json file that can be used by tune_json.py to create use cases with various type a load
Signed-off-by: Vincent Guittot vincent.guittot@linaro.org --- doc/examples/template.json | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 doc/examples/template.json
diff --git a/doc/examples/template.json b/doc/examples/template.json new file mode 100644 index 0000000..5ed3215 --- /dev/null +++ b/doc/examples/template.json @@ -0,0 +1,28 @@ +{ + /* + * Simple use case which creates 10% load + * for 6 seconds. + * A "sleep" : 0 has been added so the file can be used by tune_json.py to + * use a sleep event instead of the timer. In this latter case, you need + * to set the timer's period to 0 + */ + "tasks" : { + "thread0" : { + "instance" : 1, + "loop" : -1, + "run" : 10000, + "sleep" : 0, + "timer" : { "ref" : "unique", "period" : 100000 } + } + }, + "global" : { + "duration" : 6, + "calibration" : "CPU0", + "default_policy" : "SCHED_OTHER", + "pi_enabled" : false, + "lock_pages" : false, + "logdir" : "./", + "log_basename" : "rt-app2", + "gnuplot" : true + } +}