Преглед изворни кода

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);
 }