소스 검색

injecting small delay into simgrid when new task is submitted

Luka Stanisic 9 년 전
부모
커밋
ba0d22a585
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/core/task.c

+ 3 - 0
src/core/task.c

@@ -681,6 +681,9 @@ int starpu_task_submit(struct starpu_task *task)
 		_starpu_clock_gettime(&info->submit_time);
 
 	ret = _starpu_submit_job(j);
+#ifdef STARPU_SIMGRID
+    MSG_process_sleep(0.0000001);
+#endif
 
 	if (is_sync)
 	{