summaryrefslogtreecommitdiff
path: root/doc/examples/tutorial/example2.json
blob: 970a37a75777c2da2731390e03ff0d7446973c65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
	/*
	 * Simple use case which creates 10% load
	 * until the use case is stopped with Ctrl+C
	 */
	"tasks" : {
		"thread0" : {
			"instance" : 1,
			"loop" : -1,
			"run" :   10000,
			"timer" : { "ref" : "unique", "period" : 100000 }
		}
	},
	"global" : {
		"duration" : 2,
		"calibration" : "CPU0",
		"default_policy" : "SCHED_OTHER",
		"pi_enabled" : false,
		"lock_pages" : false,
		"logdir" : "./",
		"log_basename" : "rt-app2",
		"ftrace" : true,
		"gnuplot" : true
	}
}