00001 #ifndef __INVARIANT_H__ 00002 #define __INVARIANT_H__ 00003 00004 #include "qmgr_base.h" 00005 00016 typedef struct invariant_params_struct { 00017 qmgr_ctrl_params_t base; 00018 qres_time_t e; 00019 qres_time_t E; 00020 } invariant_params_t; 00021 00022 typedef struct invariant_struct { 00023 qmgr_ctrl_t base; 00024 qres_time_t e; 00025 qres_time_t E; 00026 } invariant_t; 00027 00029 qos_rv invariant_register(void); 00030 00032 qos_rv invariant_init(void *self, void *self_params); 00033 00035 qos_rv invariant_final(qmgr_ctrl_t *ctrl); 00036 00038 qos_bw_t invariant_fb_func(qmgr_ctrl_t *ctrl, qres_time_t sched_err); 00039 00042 #endif