diff options
author | Vincent Guittot <vincent.guittot@linaro.org> | 2014-09-19 21:12:04 -0700 |
---|---|---|
committer | Vincent Guittot <vincent.guittot@linaro.org> | 2014-09-24 11:53:47 +0200 |
commit | ec7dd0e19fabdd7ca820eefd6370fbcf28d98f6d (patch) | |
tree | dcdb2578a0f403cea4f2386abbc3f61edf81772d /doc | |
parent | bb44ec0ec674ea23526602348ff4e7dec1ad1b98 (diff) |
update test file with new grammar
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/test.json | 32 |
1 files changed, 23 insertions, 9 deletions
diff --git a/doc/examples/test.json b/doc/examples/test.json index 2127342..11adcb0 100644 --- a/doc/examples/test.json +++ b/doc/examples/test.json @@ -4,22 +4,36 @@ "instance" : 1, "priority": -19, "cpus": [ 0 ], - "loop": 2, - "lock": "mutex", - "signal": "queue", - "run" : 10000, - "unlock": "mutex", - "run": 10000, - "timer": { "ref" : "tick", "period" : 200000}, + "loop" : 1, + "phases" : { + "p0" : { + "sleep" : 10000, + }, + "p1" : { + "loop" : 8, + "lock": "mutex", + "run" : 10000, + "signal": "queue", + "run" : 10000, + "unlock": "mutex", + "run": 100000, + "resume" : "thread1", + "timer": { "ref" : "tick", "period" : 200000}, + }, + }, }, "thread1": { "priority": -19, "cpus": [ 1 ], - "loop": 1, + "loop" : 3, "lock": "mutex", "wait": { "ref": "queue", "mutex": "mutex" }, "unlock": "mutex", - "run": 10000 + "run": 10000, + "suspend", + "run": 10000, + "suspend", + "run": 10000, }, }, } |