aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2007-10-07 03:22:43 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2007-10-07 03:22:43 -0400
commit2fa52f0330b845ca56e9bd4bc07a2149349abfef (patch)
tree4cd5083d1759f048633b9373a2460501bebef80e /include/linux
parent19fa5f404ad17b9130f5bb4407b7a896b7673dfa (diff)
adaptive: add linear weight_transfer metric
Adds slope and intercept to adaptive tasks and setup code.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/rt_param.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/rt_param.h b/include/linux/rt_param.h
index 010ff4eff3..2f60f7735a 100644
--- a/include/linux/rt_param.h
+++ b/include/linux/rt_param.h
@@ -167,6 +167,11 @@ typedef struct task_rt_param {
167 /* Adaptive support. Store state for weight estimation. 167 /* Adaptive support. Store state for weight estimation.
168 */ 168 */
169 predictor_state_t predictor_state; 169 predictor_state_t predictor_state;
170
171 /* Adaptive support. Y-intercept and slope for weight-transfer function.
172 */
173 fp_t wt_y;
174 fp_t wt_slope;
170} task_rt_param_t; 175} task_rt_param_t;
171 176
172/* Possible RT flags */ 177/* Possible RT flags */