Rev 1255 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1254 | giacomo | 1 | /* Generic Struct for loader task */ |
2 | |||
3 | #include "lconst.h" //Constant definition for loader and linux parser |
||
4 | |||
5 | struct loader_task { |
||
6 | |||
7 | char name[20]; //Task name |
||
8 | int task_type; //Tast type (OS,CT,BT) |
||
9 | int contract; //Contract number |
||
10 | int local_scheduler; //Local scheduler for the task |
||
11 | int number; //How many copies of this task |
||
12 | int group; //Group number |
||
13 | |||
14 | struct timespec deadline; //Task deadline |
||
15 | struct timespec wcet; //Task wcet |
||
16 | |||
17 | int act_number; //Number of activations precalcolated |
||
18 | int act_current; //Actual activation number |
||
19 | |||
20 | struct timespec *act; //Activation list |
||
21 | struct timespec *exec; //Execution time list |
||
22 | |||
23 | }; |
||
24 | |||
25 | struct loader_contract { |
||
26 | |||
27 | int number; //Contract number |
||
28 | struct timespec cmin; |
||
29 | struct timespec tmax; |
||
30 | struct timespec cmax; |
||
31 | struct timespec tmin; |
||
32 | int workload; |
||
33 | int local_scheduler; |
||
34 | int server; //Server number linked to this contract |
||
35 | |||
36 | }; |
||
37 |