diff options
author | Dave Parks <davep@lindenlab.com> | 2010-09-19 23:07:56 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-09-19 23:07:56 -0500 |
commit | e18e26e87c46806f75d219b21be8b6ff2228fc99 (patch) | |
tree | 421b59c7ef33fc0d6a2223c7896e1cdf38a2ad7f /indra/cmake/GooglePerfTools.cmake | |
parent | 90da6d6fdc33343be72252101aed1be641e822b5 (diff) |
Use tcmalloc for windows (gives auto-magical 16-byte alignment whenever needed, much faster than Visual C++ malloc).
Diffstat (limited to 'indra/cmake/GooglePerfTools.cmake')
-rw-r--r-- | indra/cmake/GooglePerfTools.cmake | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/cmake/GooglePerfTools.cmake b/indra/cmake/GooglePerfTools.cmake index 946fc6b375..ee231dcde6 100644 --- a/indra/cmake/GooglePerfTools.cmake +++ b/indra/cmake/GooglePerfTools.cmake @@ -6,7 +6,7 @@ if (STANDALONE) else (STANDALONE) use_prebuilt_binary(google) if (WINDOWS) - use_prebuilt_binary(google-perftools) + use_prebuilt_binary(tcmalloc) set(TCMALLOC_LIBRARIES debug libtcmalloc_minimal-debug optimized libtcmalloc_minimal) @@ -29,8 +29,7 @@ if (GOOGLE_PERFTOOLS_FOUND) endif (GOOGLE_PERFTOOLS_FOUND) if (WINDOWS) - # *TODO -reenable this once we get server usage sorted out - #set(USE_GOOGLE_PERFTOOLS ON) + set(USE_GOOGLE_PERFTOOLS ON) endif (WINDOWS) if (USE_GOOGLE_PERFTOOLS) |