소스 검색

Avoid including the task submission throttling within the submitting trace

Samuel Thibault 9 년 전
부모
커밋
729faa6417
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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)