diff options
author | Lars Knoll <lars.knoll@qt.io> | 2017-11-27 10:53:33 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2017-12-11 10:21:42 +0000 |
commit | 894211971ebf8b53ed3a78d771764021f7de2de6 (patch) | |
tree | b303ddc905205b72fb36b458365b61e4d460ab61 /tools/qmljs/qmljs.cpp | |
parent | 41293196b4db1aa7a0c616af312875c484639644 (diff) |
Add logging categories for GC statistics
And use them to dump some useful information. This replaces
the old QV4_MM_STATS environment variable and introduces
the qt.qml.gc.statistics (for some stats at app exit) and
qt.qml.gc.allocatorStats (for stats on each GC run) logging
categories.
Change-Id: I0a16b25b8663aa7dbfe2adae299d3d990e8e5554
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tools/qmljs/qmljs.cpp')
-rw-r--r-- | tools/qmljs/qmljs.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/qmljs/qmljs.cpp b/tools/qmljs/qmljs.cpp index 14a20731c0..a1a1200788 100644 --- a/tools/qmljs/qmljs.cpp +++ b/tools/qmljs/qmljs.cpp @@ -202,8 +202,6 @@ int main(int argc, char *argv[]) return EXIT_FAILURE; } } - - vm.memoryManager->dumpStats(); } return EXIT_SUCCESS; } // switch (mode) } |