瀏覽代碼

src/core/perfmodel/perfmodel_history.c: storing the data in the hashtable is not such a bad idea (Thanks Ludovic and Cyril for helping me to detect this hideous bug)

Nathalie Furmento 13 年之前
父節點
當前提交
ebfe4fb015
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/core/perfmodel/perfmodel_history.c

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

@@ -73,6 +73,7 @@ static void insert_history_entry(struct starpu_history_entry *entry, struct star
 	table = (struct starpu_history_table*) malloc(sizeof(*table));
 	STARPU_ASSERT(table != NULL);
 	table->footprint = entry->footprint;
+	table->history_entry = entry;
 	HASH_ADD_UINT32_T(*history_ptr, footprint, table);
 }