Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 2bf93c456eaa5d057d7391c3002acf74633eb9c3 (plain) (blame)
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
41
42
43
PhysicalModel TemplatePhysical {
	
	PhysicalSystem TemplatePhysicalSystem {
		NodeRef node : DefaultNodeClass
	}
	
	NodeClass DefaultNodeClass {
		runtime = DefaultRuntimeClass
		priomin = -10
		priomax = 10
		
		DefaultThread DefaultPhysicalThread {
			execmode = mixed
			interval = 100ms
			prio = 0
			stacksize = 1024
			msgblocksize = 64
			msgpoolsize = 100
		}
		
		Thread BlockedThread {
			execmode = blocked
			prio = 0
			stacksize = 1024
			msgblocksize = 64
			msgpoolsize = 100
		}
		
		Thread PolledThread {
			execmode = polled
			interval = 100ms
			prio = 0
			stacksize = 1024
			msgblocksize = 64
			msgpoolsize = 100
		}
	}

	RuntimeClass DefaultRuntimeClass {
		model = multiThreaded
	} 
	
}

Back to the top