diff options
| author | Jeremy Erickson <jerickso@cs.unc.edu> | 2013-05-10 18:22:39 -0400 |
|---|---|---|
| committer | Jeremy Erickson <jerickso@cs.unc.edu> | 2013-05-10 18:22:39 -0400 |
| commit | 075fd6aa34f6f5dcc535bcc674ce43fb1b50b40f (patch) | |
| tree | 44567509732611ce0c56b668aad81c0787fca181 /include/litmus | |
| parent | c999bc50d6f051ec6d3d4e03ee18245e1720f96e (diff) | |
Lookup table EDF-oswip-edf-os
Diffstat (limited to 'include/litmus')
| -rw-r--r-- | include/litmus/rt_param.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/litmus/rt_param.h b/include/litmus/rt_param.h index bc3bbd07ef26..9208b0eeffef 100644 --- a/include/litmus/rt_param.h +++ b/include/litmus/rt_param.h | |||
| @@ -67,17 +67,18 @@ struct edfos_params { | |||
| 67 | unsigned int first_cpu; | 67 | unsigned int first_cpu; |
| 68 | /* Whether this task is a migrating task*/ | 68 | /* Whether this task is a migrating task*/ |
| 69 | unsigned int migrat; | 69 | unsigned int migrat; |
| 70 | unsigned int* lookup_table; | ||
| 70 | /* Time of next subtask release or deadline */ | 71 | /* Time of next subtask release or deadline */ |
| 71 | int heap_data[NR_CPUS_EDF_OS]; | 72 | /*int heap_data[NR_CPUS_EDF_OS];*/ |
| 72 | /* Fraction of this task exec_cost that each CPU should handle. | 73 | /* Fraction of this task exec_cost that each CPU should handle. |
| 73 | * We keep the fraction divided in num/denom : a matrix of | 74 | * We keep the fraction divided in num/denom : a matrix of |
| 74 | * (NR_CPUS_EDF_OS rows) x (2 columns). | 75 | * (NR_CPUS_EDF_OS rows) x (2 columns). |
| 75 | * The first column is the numerator of the fraction. | 76 | * The first column is the numerator of the fraction. |
| 76 | * The second column is the denominator. | 77 | * The second column is the denominator. |
| 77 | */ | 78 | */ |
| 78 | lt_t fraction[NR_CPUS_EDF_OS][2]; | 79 | /*lt_t fraction[NR_CPUS_EDF_OS][2]; |
| 79 | struct bheap release_queue; | 80 | struct bheap release_queue; |
| 80 | struct bheap ready_queue; | 81 | struct bheap ready_queue;*/ |
| 81 | }; | 82 | }; |
| 82 | 83 | ||
| 83 | /* Parameters for NPS-F semi-partitioned scheduling algorithm. | 84 | /* Parameters for NPS-F semi-partitioned scheduling algorithm. |
| @@ -128,6 +129,7 @@ struct rt_task { | |||
| 128 | unsigned int cpu; | 129 | unsigned int cpu; |
| 129 | task_class_t cls; | 130 | task_class_t cls; |
| 130 | budget_policy_t budget_policy; /* ignored by pfair */ | 131 | budget_policy_t budget_policy; /* ignored by pfair */ |
| 132 | unsigned int lookup_len; /* Only used by EDF-os. */ | ||
| 131 | 133 | ||
| 132 | /* parameters used by the semi-partitioned algorithms */ | 134 | /* parameters used by the semi-partitioned algorithms */ |
| 133 | union { | 135 | union { |
