-
Notifications
You must be signed in to change notification settings - Fork 7
/
ex-topo-groupname-ncores.xml.in
81 lines (69 loc) · 2.82 KB
/
ex-topo-groupname-ncores.xml.in
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<topology name="Example">
<declrequirement name="online_g" value="online" type="groupname"/>
<declrequirement name="calib_g1" value="calib1" type="groupname"/>
<declrequirement name="calib_g2" value="calib2" type="groupname"/>
<declrequirement name="odc_ncores_Samplers" value="2" type="custom"/>
<declrequirement name="odc_ncores_Sinks" value="1" type="custom"/>
<declrequirement name="odc_zone_online" value="online" type="custom"/>
<declrequirement name="odc_zone_calib" value="calib" type="custom"/>
<property name="fmqchan_data1" />
<property name="fmqchan_data2" />
<decltask name="Sampler">
<exe>odc-ex-sampler --color false --channel-config name=data1,type=push,method=bind --rate 100 -P odc --severity trace</exe>
<env reachable="false">@CMAKE_INSTALL_PREFIX@/@PROJECT_INSTALL_BINDIR@/odc-ex-env.sh</env>
<properties>
<name access="write">fmqchan_data1</name>
</properties>
</decltask>
<decltask name="Processor">
<exe>odc-ex-processor --color false --channel-config name=data1,type=pull,method=connect name=data2,type=push,method=connect -P odc --severity trace</exe>
<env reachable="false">@CMAKE_INSTALL_PREFIX@/@PROJECT_INSTALL_BINDIR@/odc-ex-env.sh</env>
<properties>
<name access="read">fmqchan_data1</name>
<name access="read">fmqchan_data2</name>
</properties>
</decltask>
<decltask name="Sink">
<exe>odc-ex-sink --color false --channel-config name=data2,type=pull,method=bind -P odc --severity trace</exe>
<env reachable="false">@CMAKE_INSTALL_PREFIX@/@PROJECT_INSTALL_BINDIR@/odc-ex-env.sh</env>
<properties>
<name access="write">fmqchan_data2</name>
</properties>
</decltask>
<declcollection name="Samplers">
<requirements>
<name>odc_zone_calib</name>
<name>calib_g1</name>
<name>odc_ncores_Samplers</name>
</requirements>
<tasks>
<name>Sampler</name>
</tasks>
</declcollection>
<declcollection name="Sinks">
<requirements>
<name>odc_zone_calib</name>
<name>calib_g2</name>
<name>odc_ncores_Sinks</name>
</requirements>
<tasks>
<name>Sink</name>
</tasks>
</declcollection>
<declcollection name="Processors">
<requirements>
<name>odc_zone_online</name>
<name>online_g</name>
</requirements>
<tasks>
<name>Processor</name>
</tasks>
</declcollection>
<main name="main">
<collection>Samplers</collection>
<collection>Sinks</collection>
<group name="ProcessorGroup" n="@ODC_VAR_EXAMPLE_N@">
<collection>Processors</collection>
</group>
</main>
</topology>