aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/rt_param.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/litmus/rt_param.h')
-rw-r--r--include/litmus/rt_param.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/litmus/rt_param.h b/include/litmus/rt_param.h
index 44f85a366574..cb7c3ac64339 100644
--- a/include/litmus/rt_param.h
+++ b/include/litmus/rt_param.h
@@ -188,6 +188,8 @@ typedef struct feedback_est{
188 188
189#define AVG_EST_WINDOW_SIZE 20 189#define AVG_EST_WINDOW_SIZE 20
190 190
191typedef int (*notify_rsrc_exit_t)(struct task_struct* tsk);
192
191typedef struct avg_est{ 193typedef struct avg_est{
192 lt_t history[AVG_EST_WINDOW_SIZE]; 194 lt_t history[AVG_EST_WINDOW_SIZE];
193 uint16_t count; 195 uint16_t count;
@@ -248,6 +250,9 @@ struct rt_param {
248 gpu_migration_dist_t gpu_migration; 250 gpu_migration_dist_t gpu_migration;
249 int last_gpu; 251 int last_gpu;
250 252
253 notify_rsrc_exit_t rsrc_exit_cb;
254 void* rsrc_exit_cb_args;
255
251 lt_t accum_gpu_time; 256 lt_t accum_gpu_time;
252 lt_t gpu_time_stamp; 257 lt_t gpu_time_stamp;
253 258