summaryrefslogtreecommitdiff
path: root/interface-definitions/include/accel-ppp/thread-count.xml.i
blob: 84d9224d0434e7ac650991a8c38b17bd2b12ef5b (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
26
27
<!-- include start from accel-ppp/thread-count.xml.i -->
<leafNode name="thread-count">
  <properties>
    <help>Number of working threads</help>
    <completionHelp>
      <list>all half</list>
    </completionHelp>
    <valueHelp>
      <format>all</format>
      <description>Use all available CPU cores</description>
    </valueHelp>
    <valueHelp>
      <format>half</format>
      <description>Use half of available CPU cores</description>
    </valueHelp>
    <valueHelp>
      <format>u32:1-512</format>
      <description>Thread count</description>
    </valueHelp>
    <constraint>
      <validator name="numeric" argument="--range 1-512"/>
      <regex>(all|half)</regex>
    </constraint>
  </properties>
  <defaultValue>all</defaultValue>
</leafNode>
<!-- include end -->