Commit 37d3d1fb authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Fix queue dumping after scheduler changes

parent 1957693f
...@@ -329,7 +329,7 @@ void queue_dump(int nodeID, int index, FILE *file, struct queue *q) { ...@@ -329,7 +329,7 @@ void queue_dump(int nodeID, int index, FILE *file, struct queue *q) {
/* Loop over the queue entries. */ /* Loop over the queue entries. */
for (int k = 0; k < q->count; k++) { for (int k = 0; k < q->count; k++) {
struct task *t = &q->tasks[q->tid[k]]; struct task *t = &q->tasks[q->entries[k].tid];
fprintf(file, "%d %d %d %s %s %.2f\n", nodeID, index, k, fprintf(file, "%d %d %d %s %s %.2f\n", nodeID, index, k,
taskID_names[t->type], subtaskID_names[t->subtype], t->weight); taskID_names[t->type], subtaskID_names[t->subtype], t->weight);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment