[Linux-hls-cvs] qosman/include qos.h,1.1.1.1,1.2 adj.h,1.1.1.1,NONE pid.h,1.1.1.1,NONE simpleadj.h,1
Status: Pre-Alpha
Brought to you by:
lucabe
|
From: Luca A. <lu...@us...> - 2004-04-09 13:53:15
|
Update of /cvsroot/linux-hls/qosman/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23177/include Modified Files: qos.h Removed Files: adj.h pid.h simpleadj.h Log Message: - Some cleanups in the demos - New "text only" demo (will be used to test the pps model) - Interface change (names...) - Fix bug in feeback functions statistics - Resynch with my local tree (too many changes to mention) --- simpleadj.h DELETED --- --- pid.h DELETED --- Index: qos.h =================================================================== RCS file: /cvsroot/linux-hls/qosman/include/qos.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** qos.h 21 Feb 2004 13:01:52 -0000 1.1.1.1 --- qos.h 9 Apr 2004 13:39:57 -0000 1.2 *************** *** 2,45 **** #define __QOS_H__ /* This should be the interface file */ /* Structure used for creating a PPS task */ ! struct psparm { ! char *name; ! TASK(*body) (WORD); ! int arg; ! DWORD quantum; ! unsigned int w; }; /* Structure used for creating a MM or ED task */ ! struct qparm { ! char *name; ! TASK(*body) (WORD); ! int arg; ! DWORD wcet; ! unsigned int w; ! int reduce; ! DWORD per; ! BYTE model; }; /* General parameters for the QoS library */ ! struct qmparm { ! REAL psu; ! DWORD psq; ! REAL rmu; }; /* Prototypes */ ! int qman_init(struct qmparm *p); ! ID qset_addtask(struct qparm *t); ! ID ps_addtask(struct psparm *t); ! void qtask_end(int retvalue); ! int qtask_endcycle(void); ! void qtask_changeperiod(WORD p); ! void setreq(struct reqactions *p); ! int howlate(ID task); #endif /* __QOS_H__ */ --- 2,50 ---- #define __QOS_H__ + #define MM_TASK 1 + #define ED_TASK 2 + /* This should be the interface file */ /* Structure used for creating a PPS task */ ! struct pstask_attr { ! char *name; ! TASK(*body) (WORD); ! int arg; ! DWORD quantum; ! unsigned int w; }; /* Structure used for creating a MM or ED task */ ! struct qtask_attr { ! char *name; ! TASK(*body) (WORD); ! int arg; ! DWORD wcet; ! unsigned int w; ! int reduce; ! DWORD per; ! BYTE model; }; /* General parameters for the QoS library */ ! struct qman_attr { ! REAL psu; ! DWORD psq; ! REAL rmu; }; /* Prototypes */ ! int qman_init(struct qman_attr *p); ! void qman_setstats(struct feedbk_stat *p, int id); ! ID qman_task(struct qtask_attr *t); ! ID qman_pstask(struct pstask_attr *t); ! void qman_task_end(int retvalue); ! int qman_task_endcycle(void); ! void qman_task_changeperiod(WORD p); ! void qman_feedback(struct reqactions *p); ! int qman_howlate(ID task); ! int qman_budget(ID task); #endif /* __QOS_H__ */ --- adj.h DELETED --- |