From dede6a6b8ce09f48295d8ba4635480c98ef85284 Mon Sep 17 00:00:00 2001 From: Glenn Elliott Date: Sun, 11 Nov 2012 13:10:43 -0500 Subject: improve ikglp heuristics --- include/litmus/rt_param.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/litmus/rt_param.h') 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{ #define AVG_EST_WINDOW_SIZE 20 +typedef int (*notify_rsrc_exit_t)(struct task_struct* tsk); + typedef struct avg_est{ lt_t history[AVG_EST_WINDOW_SIZE]; uint16_t count; @@ -248,6 +250,9 @@ struct rt_param { gpu_migration_dist_t gpu_migration; int last_gpu; + notify_rsrc_exit_t rsrc_exit_cb; + void* rsrc_exit_cb_args; + lt_t accum_gpu_time; lt_t gpu_time_stamp; -- cgit v1.2.2