Explorar el Código

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 hace 16 años
padre
commit
a3b4f68e51
Se han modificado 1 ficheros con 0 adiciones y 3 borrados
  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)
 {