ソースを参照

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");