Explorar o código

From Lionel: prio_deque: documenting assumptions on exp_* fields

Samuel Thibault %!s(int64=8) %!d(string=hai) anos
pai
achega
c59bbd5c43
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      src/sched_policies/prio_deque.h

+ 5 - 0
src/sched_policies/prio_deque.h

@@ -25,6 +25,11 @@ struct _starpu_prio_deque
 	int size_array;
 	unsigned ntasks;
 	unsigned nprocessed;
+	// Assumptions: 
+	// exp_len is the sum of predicted_length + predicted_tansfer of all tasks in list
+	// exp_start is the time at which the first task of list can start
+	// exp_end = exp_start + exp_end
+	// Careful: those are NOT maintained by the prio_queue operations
 	double exp_start, exp_end, exp_len;
 };