소스 검색

rename environment variable STARPU_MEMORY_STATS to STARPU_MEMORY_STATUS

Nathalie Furmento 12 년 전
부모
커밋
03d7790e83
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 2
      doc/chapters/perf-feedback.texi
  2. 1 1
      src/datawizard/memalloc.c

+ 2 - 2
doc/chapters/perf-feedback.texi

@@ -442,14 +442,14 @@ It is possible to display memory usage at the end of the
 execution of your application. It allows to check all data allocated
 by StarPU have been cleared. To do so, you need to pass the option
 @code{--enable-memory-status} when running configure, and to set the
-environment variable @code{STARPU_MEMORY_STATS} when running the
+environment variable @code{STARPU_MEMORY_STATUS} when running the
 application.
 
 For example, if you do not unregister data at the end of the complex
 example, you will get something similar to:
 
 @example
-$ STARPU_MEMORY_STATS=1 ./examples/interface/complex
+$ STARPU_MEMORY_STATUS=1 ./examples/interface/complex
 ...
 Memory status :
 #-------

+ 1 - 1
src/datawizard/memalloc.c

@@ -962,7 +962,7 @@ void _starpu_display_memory_status(void)
 	unsigned node;
 	const char *status;
 
-	if ((status = getenv("STARPU_MEMORY_STATS")) && atoi(status))
+	if ((status = getenv("STARPU_MEMORY_STATUS")) && atoi(status))
 	{
 		fprintf(stderr, "\n#---------------------\n");
 		fprintf(stderr, "Memory status :\n");