aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/litmus/rt_param.h8
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 {