summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/spreading-tasks.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/examples/spreading-tasks.json b/doc/examples/spreading-tasks.json
new file mode 100644
index 0000000..844db44
--- /dev/null
+++ b/doc/examples/spreading-tasks.json
@@ -0,0 +1,26 @@
+{
+ "tasks" : {
+ "thread" : {
+ "instance" : 2,
+ "loop" : -1,
+ "phases" : {
+ "light" : {
+ "loop" : 600,
+ "run" : 1000,
+ "timer" : { "ref" : "unique", "period" : 10000 }
+ },
+ "heavy" : {
+ "loop" : 600,
+ "run" : 7000,
+ "timer" : { "ref" : "unique", "period" : 10000 }
+ }
+ }
+ }
+ },
+ "global" : {
+ "duration" : 60,
+ "default_policy" : "SCHED_OTHER",
+ "calibration" : "CPU0"
+ }
+}
+