Selaa lähdekoodia

Avoid including the task submission throttling within the submitting trace

Samuel Thibault 8 vuotta sitten
vanhempi
commit
729faa6417
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 1 2
      src/core/task.c

+ 1 - 2
src/core/task.c

@@ -631,8 +631,6 @@ int starpu_task_submit(struct starpu_task *task)
 #endif
 		;
 
-	_STARPU_TRACE_TASK_SUBMIT_START();
-
 	if (!j->internal)
 	{
 		int nsubmitted_tasks = starpu_task_nsubmitted();
@@ -644,6 +642,7 @@ int starpu_task_submit(struct starpu_task *task)
 		}
 	}
 
+	_STARPU_TRACE_TASK_SUBMIT_START();
 
 	ret = _starpu_task_submit_head(task);
 	if (ret)