changeset 878:8f7930f589ef am-dev

comments
author Alain Mazy <alain@mazy.be>
date Wed, 03 Jul 2019 10:26:51 +0200
parents f7e5ee59ba17
children 12b591d5d63c
files Platforms/Wasm/Defaults.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Platforms/Wasm/Defaults.cpp	Wed Jul 03 10:16:22 2019 +0200
+++ b/Platforms/Wasm/Defaults.cpp	Wed Jul 03 10:26:51 2019 +0200
@@ -42,6 +42,8 @@
 #endif
 
 #if 0
+  // rewrite malloc/free in order to monitor allocations.  We actually only monitor large allocations (like images ...)
+
   size_t bigChunksTotalSize = 0;
   std::map<void*, size_t> allocatedBigChunks;