Quellcode durchsuchen

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 vor 13 Jahren
Ursprung
Commit
ebfe4fb015
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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);
 }