소스 검색

really make coherency between timestamp take and profiling update

Samuel Thibault 13 년 전
부모
커밋
f58ae2dc66
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/drivers/driver_common/driver_common.c

+ 1 - 1
src/drivers/driver_common/driver_common.c

@@ -104,7 +104,7 @@ void _starpu_driver_update_job_feedback(struct _starpu_job *j, struct _starpu_wo
 	int profiling = starpu_profiling_status_get();
 	int updated = 0;
 
-	if (cl->model && _starpu_get_calibrate_flag())
+	if (cl->model && cl->model->benchmarking)
 		calibrate_model = 1;
 
 	if ((profiling && profiling_info) || calibrate_model)