File: template.json

package info (click to toggle)
rt-app 1.0-1.2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 552 kB
  • sloc: ansic: 2,238; python: 260; sh: 129; makefile: 33
file content (28 lines) | stat: -rw-r--r-- 634 bytes parent folder | download | duplicates (3)
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
{
	/*
	 * Simple use case which creates 10% load
	 * for 6 seconds.
	 * A "sleep" : 0 has been added so the file can be used by tune_json.py to
	 * use a sleep event instead of the timer. In this latter case, you need
	 * to set the timer's period to 0
	 */
	"tasks" : {
		"thread0" : {
			"instance" : 1,
			"loop" : -1,
			"run" :   10000,
			"sleep" : 0,
			"timer" : { "ref" : "unique", "period" : 100000 }
		}
	},
	"global" : {
		"duration" : 6,
		"calibration" : "CPU0",
		"default_policy" : "SCHED_OTHER",
		"pi_enabled" : false,
		"lock_pages" : false,
		"logdir" : "./",
		"log_basename" : "rt-app2",
		"gnuplot" : true
	}
}