diff options
author | Vincent Guittot <vincent.guittot@linaro.org> | 2014-09-16 17:13:31 -0700 |
---|---|---|
committer | Vincent Guittot <vincent.guittot@linaro.org> | 2014-09-16 17:13:31 -0700 |
commit | 1d16741483f2da200051b666b6139e17ef3c070b (patch) | |
tree | 0f15f724ce61ba68d58e977da041b4f81f136654 /doc | |
parent | d764a287e6e5302a1d9fc3cb0d6b8f30af85141c (diff) |
updates examples with new grammar
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/example1.json | 9 | ||||
-rw-r--r-- | doc/examples/example2.json | 24 |
2 files changed, 17 insertions, 16 deletions
diff --git a/doc/examples/example1.json b/doc/examples/example1.json index 2a1f8a0..e62a6bf 100644 --- a/doc/examples/example1.json +++ b/doc/examples/example1.json @@ -1,12 +1,13 @@ { "tasks" : { "thread0" : { - "exec" : 300, - "period" : 8000, + "run" : 300, + "sleep" : 8000, }, "thread1" : { - "exec" : 5000, - "period" : 33000, + "loop" : -1, + "run" : 5000, + "sleep" : 33000, }, }, "global" : { diff --git a/doc/examples/example2.json b/doc/examples/example2.json index b639b00..9dfad5c 100644 --- a/doc/examples/example2.json +++ b/doc/examples/example2.json @@ -4,20 +4,20 @@ }, "tasks" : { "thread0" : { - "exec" : 300, - "period" : 8000, - "lock_order" : ["mutex1"], - "resources" : { - "mutex1" : { "duration" : 275 }, - } + "loop" : -1, + "lock" : "mutex1", + "run" : 275, + "unlock" : "mutex1", + "run_end" : 25, + "sleep" : 7700, }, "thread1" : { - "exec" : 5000, - "period" : 33000, - "lock_order" : ["mutex1"], - "resources" : { - "mutex1" : { "duration" : 4000 }, - } + "loop" : 100, + "lock" : "mutex1", + "run" : 4000, + "unlock" : "mutex1", + "runend" : 1000, + "sleep" : 28000, }, }, "global" : { |