summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorVincent Guittot <vincent.guittot@linaro.org>2014-09-19 09:13:10 -0700
committerVincent Guittot <vincent.guittot@linaro.org>2014-09-24 11:25:10 +0200
commit1abf991590f4567475a06e978edf583cb711c4f2 (patch)
treef517812e0b885065558e8a4df60e7aa053c9b53a /doc
parent50fea4febace8ad7504a6a1d31f212148fd3922d (diff)
test file for workload generator
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/test.json25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/examples/test.json b/doc/examples/test.json
new file mode 100644
index 0000000..2127342
--- /dev/null
+++ b/doc/examples/test.json
@@ -0,0 +1,25 @@
+{
+ "tasks": {
+ "thread0": {
+ "instance" : 1,
+ "priority": -19,
+ "cpus": [ 0 ],
+ "loop": 2,
+ "lock": "mutex",
+ "signal": "queue",
+ "run" : 10000,
+ "unlock": "mutex",
+ "run": 10000,
+ "timer": { "ref" : "tick", "period" : 200000},
+ },
+ "thread1": {
+ "priority": -19,
+ "cpus": [ 1 ],
+ "loop": 1,
+ "lock": "mutex",
+ "wait": { "ref": "queue", "mutex": "mutex" },
+ "unlock": "mutex",
+ "run": 10000
+ },
+ },
+}