Browse Source

src: add debug messagesé

Nathalie Furmento 13 years ago
parent
commit
9dfe1480a4
2 changed files with 3 additions and 2 deletions
  1. 1 1
      src/core/perfmodel/perfmodel_history.c
  2. 2 1
      src/core/task.c

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

@@ -718,7 +718,7 @@ void _starpu_load_history_based_model(struct starpu_perfmodel *model, unsigned s
 		initialize_model(model);
 	}
 
-	_STARPU_DEBUG("Performance model file %s for model %s is loaded", path, model->symbol);
+	_STARPU_DEBUG("Performance model file %s for model %s is loaded\n", path, model->symbol);
 
 	model->is_loaded = 1;
 

+ 2 - 1
src/core/task.c

@@ -1,7 +1,7 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
  * Copyright (C) 2009, 2010, 2011  Université de Bordeaux 1
- * Copyright (C) 2010  Centre National de la Recherche Scientifique
+ * Copyright (C) 2010, 2011  Centre National de la Recherche Scientifique
  * Copyright (C) 2011  Télécom-SudParis
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -274,6 +274,7 @@ int starpu_task_submit(struct starpu_task *task)
 		if (task->cl->conversion_model)
 			_starpu_load_perfmodel(task->cl->conversion_model);
 
+		_STARPU_DEBUG("Performance models (if available) are loaded\n");
 	}
 
 	/* If profiling is activated, we allocate a structure to store the