diff options
author | Fumiya Shigemitsu <shfy1014@gmail.com> | 2019-06-30 14:20:23 +0900 |
---|---|---|
committer | Fumiya Shigemitsu <shfy1014@gmail.com> | 2019-06-30 14:20:23 +0900 |
commit | ed5cdba634b2f7abe2ed08542333bf6270c58ecc (patch) | |
tree | 142ba138d3201480c17feab169d6fb1f446b2a9d /doc | |
parent | 5dfced26c2925e0d08c8de03e7ef0169db5d3793 (diff) |
fix a environment variables name
Some documents explain passing MIMALLOC_STATS=1 to print
statistics, though it handles as mimalloc_show_stats in the actual
code. According to the code, change the name MIMALLOC_STATS to MIMALLOC_SHOW_STATS.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/mimalloc-doc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/mimalloc-doc.h b/doc/mimalloc-doc.h index 3d2a198..d8c44e1 100644 --- a/doc/mimalloc-doc.h +++ b/doc/mimalloc-doc.h @@ -720,9 +720,9 @@ to link with the static library. See `test\CMakeLists.txt` for an example. You can pass environment variables to print verbose messages (`MIMALLOC_VERBOSE=1`) -and statistics (`MIMALLOC_STATS=1`) (in the debug version): +and statistics (`MIMALLOC_SHOW_STATS=1`) (in the debug version): ``` -> env MIMALLOC_STATS=1 ./cfrac 175451865205073170563711388363 +> env MIMALLOC_SHOW_STATS=1 ./cfrac 175451865205073170563711388363 175451865205073170563711388363 = 374456281610909315237213 * 468551 @@ -791,7 +791,7 @@ env MIMALLOC_VERBOSE=1 LD_PRELOAD=/usr/lib/libmimalloc.so myprogram ``` or run with the debug version to get detailed statistics: ``` -env MIMALLOC_STATS=1 LD_PRELOAD=/usr/lib/libmimalloc-debug.so myprogram +env MIMALLOC_SHOW_STATS=1 LD_PRELOAD=/usr/lib/libmimalloc-debug.so myprogram ``` ### Windows |