浏览代码

Even if the debug mode is not enabled, it is possible to request what would be
the path of the debug log file if there was one.

Cédric Augonnet 16 年之前
父节点
当前提交
a3b4f68e51
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      src/core/perfmodel/perfmodel_history.c

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

@@ -173,7 +173,6 @@ static void initialize_model(struct starpu_perfmodel_t *model)
 static struct starpu_model_list_t *registered_models = NULL;
 //static unsigned debug_modelid = 0;
 
-#ifdef MODEL_DEBUG
 static void get_model_debug_path(struct starpu_perfmodel_t *model, const char *arch, char *path, size_t maxlen)
 {
 	strncpy(path, PERF_MODEL_DIR, maxlen);
@@ -187,8 +186,6 @@ static void get_model_debug_path(struct starpu_perfmodel_t *model, const char *a
 	strncat(path, arch, maxlen);
 	strncat(path, ".debug", maxlen);
 }
-#endif
-
 
 void register_model(struct starpu_perfmodel_t *model)
 {