From 2fa52f0330b845ca56e9bd4bc07a2149349abfef Mon Sep 17 00:00:00 2001 From: "Bjoern B. Brandenburg" Date: Sun, 7 Oct 2007 03:22:43 -0400 Subject: adaptive: add linear weight_transfer metric Adds slope and intercept to adaptive tasks and setup code. --- include/linux/rt_param.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/linux') 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 { /* Adaptive support. Store state for weight estimation. */ predictor_state_t predictor_state; + + /* Adaptive support. Y-intercept and slope for weight-transfer function. + */ + fp_t wt_y; + fp_t wt_slope; } task_rt_param_t; /* Possible RT flags */ -- cgit v1.2.2