Explorar o código

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 %!s(int64=13) %!d(string=hai) anos
pai
achega
ebfe4fb015
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);
 }