Changes between Version 8 and Version 9 of Prefs2
- Timestamp:
- Sep 16, 2019, 3:38:41 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Prefs2
v8 v9 79 79 <term> 80 80 <item>item-name</item> 81 <type>x</type> // 1 = greater than, 2 = nonzero, 3 = time range, 4 = app running 82 [<not/>] 81 <type>x</type> // greater_than, nonzero, time_range, app_running 83 82 [<thresh>x</thresh>] // if greater than 84 83 [<time_range>...</time_range>] // if time range … … 130 129 {{{ 131 130 <computing_prefs> 132 [ <static_params> ... </static_params> ]133 131 <clause> ... </clause> 134 132 ... 133 <static_params> ... <static_params> 135 134 </computing_prefs> 136 135 }}} … … 139 138 X is a set of dynamic parameters, initially empty. 140 139 The clauses are processed in order. 141 For each clause C, weevaluate its condition.142 If the condition is true, weoverlay X with C's dynamic parameters.140 For each clause C, evaluate its condition. 141 If the condition is true, overlay X with C's dynamic parameters. 143 142 At the conclusion, X is the dynamic parameters to be enforced by the client. 144 143 … … 151 150 <computing_prefs> 152 151 <clause> 153 <condition></condition>154 152 <dynamic_params> 155 153 <max_ncpus_pct>50</max_ncpus_pct> … … 160 158 <condition> 161 159 <term> 162 <type>g t</type>160 <type>greater_than</type> 163 161 <item>idle_time</time> 164 162 <value>180</value>