浏览代码

put the hash of the job in the model debug output

Cédric Augonnet 16 年之前
父节点
当前提交
9f8a766cbb
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/core/perfmodel/perfmodel_history.c

+ 3 - 1
src/core/perfmodel/perfmodel_history.c

@@ -494,7 +494,9 @@ void update_perfmodel_history(job_t j, enum starpu_perf_archtype arch, double me
 
 		take_mutex(&model->model_mutex);
 
-		fprintf(debug_file, "%lf\t", measured);
+		STARPU_ASSERT(j->footprint_is_computed);
+
+		fprintf(debug_file, "%x\t%lf\t\t", j->footprint, measured);
 		unsigned i;
 			
 		struct starpu_task *task = j->task;