Browse Source

Free perfmodel resources

Samuel Thibault 7 years ago
parent
commit
5ee635bf3b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tools/starpu_perfmodel_display.c

+ 2 - 1
tools/starpu_perfmodel_display.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
  *
- * Copyright (C) 2011, 2013-2014  Université de Bordeaux
+ * Copyright (C) 2011, 2013-2014, 2017  Université de Bordeaux
  * Copyright (C) 2011, 2012, 2013, 2014, 2016  CNRS
  * Copyright (C) 2011, 2012, 2013, 2014, 2016  CNRS
  * Copyright (C) 2011  Télécom-SudParis
  * Copyright (C) 2011  Télécom-SudParis
  *
  *
@@ -173,6 +173,7 @@ int main(int argc, char **argv)
 			footprint = &pspecific_footprint;
 			footprint = &pspecific_footprint;
 		}
 		}
 		starpu_perfmodel_print_all(&model, parch, pparameter, footprint, stdout);
 		starpu_perfmodel_print_all(&model, parch, pparameter, footprint, stdout);
+		starpu_perfmodel_unload_model(&model);
         }
         }
 
 
 	starpu_perfmodel_free_sampling_directories();
 	starpu_perfmodel_free_sampling_directories();