Procházet zdrojové kódy

From Lionel: prio_deque: documenting assumptions on exp_* fields

Samuel Thibault před 8 roky
rodič
revize
c59bbd5c43
1 změnil soubory, kde provedl 5 přidání a 0 odebrání
  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;
 };