瀏覽代碼

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)