Skip to content
Snippets Groups Projects
Commit 37d3d1fb authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Fix queue dumping after scheduler changes

parent 1957693f
No related branches found
No related tags found
1 merge request!929Back of the queue
...@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment