瀏覽代碼

src: modify debug messages

Nathalie Furmento 10 年之前
父節點
當前提交
e0df38f7de
共有 2 個文件被更改,包括 3 次插入4 次删除
  1. 2 3
      src/core/perfmodel/perfmodel_history.c
  2. 1 1
      src/datawizard/memalloc.c

+ 2 - 3
src/core/perfmodel/perfmodel_history.c

@@ -1026,14 +1026,13 @@ void _starpu_load_history_based_model(struct starpu_perfmodel *model, unsigned s
 
 				fclose(f);
 			}
+			_STARPU_DEBUG("Performance model file %s for model %s is loaded\n", path, model->symbol);
 		}
 		else
 		{
-			_STARPU_DEBUG("File does not exists\n");
+			_STARPU_DEBUG("Performance model file %s does not exist\n", path);
 		}
 
-		_STARPU_DEBUG("Performance model file %s for model %s is loaded\n", path, model->symbol);
-
 		model->is_loaded = 1;
 	}
 	STARPU_PTHREAD_RWLOCK_UNLOCK(&model->model_rwlock);

+ 1 - 1
src/datawizard/memalloc.c

@@ -701,7 +701,7 @@ size_t _starpu_memory_reclaim_generic(unsigned node, unsigned force, size_t recl
 		char name[32];
 		_starpu_memory_node_get_name(node, name, sizeof(name));
 		if (!warned) {
-			_STARPU_DISP("Not enough memory left on node %s. Your application working set is probably simply just hard to fit in the devices, but StarPU will cope with it by trying to purge %lu bytes out. This message will not be printed again for further purges\n", name, (unsigned long) reclaim);
+			_STARPU_DISP("Not enough memory left on node %s. Your application data set seems to huge to fit on the device, StarPU will cope by trying to purge %lu bytes out. This message will not be printed again for further purges\n", name, (unsigned long) reclaim);
 			warned = 1;
 		}
 	}