[Lldb-commits] [PATCH] D117914: [lldb] Add ConstString memory usage statistics

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 21 11:42:56 PST 2022


JDevlieghere created this revision.
JDevlieghere added reviewers: clayborg, labath.
JDevlieghere requested review of this revision.

Add statistics about the memory usage of the string pool. I'm particularly interested in the memory used by the allocator, i.e. the number of bytes actually used by the allocator it self as well as the number of bytes allocated through the allocator.


https://reviews.llvm.org/D117914

Files:
  lldb/include/lldb/Target/Statistics.h
  lldb/include/lldb/Utility/ConstString.h
  lldb/source/Target/Statistics.cpp
  lldb/source/Utility/ConstString.cpp
  lldb/test/API/commands/statistics/basic/TestStats.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117914.402057.patch
Type: text/x-patch
Size: 6787 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220121/68e1ee66/attachment.bin>


More information about the lldb-commits mailing list