diff options
author | Vincent Guittot <vincent.guittot@linaro.org> | 2014-07-23 17:57:12 +0200 |
---|---|---|
committer | Vincent Guittot <vincent.guittot@linaro.org> | 2014-08-01 15:43:47 +0200 |
commit | 278b8b03a6fd79474309d6949648cb1b20e6bfb8 (patch) | |
tree | 3ba2ebb2f2d8e682ba6d9d3e625277b7c768dec0 /doc | |
parent | 15b8a6189b6d817d58875296a232198e295481c7 (diff) |
add a very simple example
doc/examples/example1.json
2 thread wake up periodically with different periods and runtimes
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/example1.json | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/examples/example1.json b/doc/examples/example1.json new file mode 100644 index 0000000..2a1f8a0 --- /dev/null +++ b/doc/examples/example1.json @@ -0,0 +1,23 @@ +{ + "tasks" : { + "thread0" : { + "exec" : 300, + "period" : 8000, + }, + "thread1" : { + "exec" : 5000, + "period" : 33000, + }, + }, + "global" : { + "default_policy" : "SCHED_OTHER", + "duration" : 10, + "ftrace" : false, + "gnuplot" : false, + "logdir" : "./", + "log_basename" : "rt-app", + "lock_pages" : false, + "frag" : 0, + "calibration" : "CPU1", + } +} |