Browse Source

Analysis tools prefer to always have the task priority

Samuel Thibault 5 years ago
parent
commit
56d5c29696
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/debug/traces/starpu_fxt.c

+ 1 - 2
src/debug/traces/starpu_fxt.c

@@ -209,8 +209,7 @@ static void task_dump(struct task_info *task, struct starpu_fxt_options *options
 	fprintf(tasks_file, "JobId: %s%lu\n", prefix, task->job_id);
 	fprintf(tasks_file, "JobId: %s%lu\n", prefix, task->job_id);
 	if (task->submit_order)
 	if (task->submit_order)
 		fprintf(tasks_file, "SubmitOrder: %lu\n", task->submit_order);
 		fprintf(tasks_file, "SubmitOrder: %lu\n", task->submit_order);
-	if (task->priority)
-		fprintf(tasks_file, "Priority: %ld\n", task->priority);
+	fprintf(tasks_file, "Priority: %ld\n", task->priority);
 	if (task->dependencies)
 	if (task->dependencies)
 	{
 	{
 		fprintf(tasks_file, "DependsOn:");
 		fprintf(tasks_file, "DependsOn:");