33,7 → 33,7 |
// Constants for assigning default values |
|
#define FSF_DEFAULT_WORKLOAD FSF_INDETERMINATE |
#define FSF_DEFAULT_D_EQUALS_T false |
#define FSF_DEFAULT_D_EQUALS_T TRUE |
#define FSF_DEFAULT_DEADLINE {0,0} //struct timespec |
|
// Constants for omitting the assignment of values |
128,11 → 128,17 |
// EDF: struct timespec (deadline) |
// TABLE_DRIVEN : struct fsf_table_driven_params_t |
|
struct target_window { |
pthread_t task_id; |
struct timespec start; |
struct timespec end; |
struct timespec comp_time; |
}; |
|
//Scheduling parameters for the table-driven policy (t.b.d) |
typedef struct { |
// list of target windows (t.b.d.) |
// deadline (for the API): end of september |
int size; |
struct target_window * table; |
} fsf_table_driven_params_t; |
|
|