File: example8.json

package info (click to toggle)
rt-app 1.0-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 496 kB
  • sloc: ansic: 2,231; python: 260; sh: 129; makefile: 33
file content (40 lines) | stat: -rw-r--r-- 803 bytes parent folder | download | duplicates (2)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
	/*
	 * Simple use case which creates a thread with 3 phases each running for
	 * 1.5ms. In phase 1 the thread will be affined to CPU 0, in phase 2 it
	 * will be affined to CPU 1 and in the third phase it will be affined to
	 * CPUs 2 (inherit from "cpus" at task level).
	 */
	"tasks" : {
		"thread0" : {
			"cpus" : [2],
			"phases" : {
				"phase1" : {
					"cpus" : [0],
					"loop" : 1,
					"run" : 1500
				},
				"phase2" : {
					"cpus" : [1],
					"loop" : 1,
					"run" : 1500
				},
				"phase3" : {
					"loop" : 1,
					"run" : 1500
				}
			}
		}
	},
	"global" : {
		"duration" : 2,
		"calibration" : "CPU0",
		"default_policy" : "SCHED_OTHER",
		"pi_enabled" : false,
		"lock_pages" : false,
		"logdir" : "./",
		"log_basename" : "rt-app1",
		"ftrace" : true,
		"gnuplot" : true
	}
}