[all-commits] [llvm/llvm-project] cd8122: [lldb] Add ConstString memory usage statistics

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon Jan 24 15:13:33 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cd8122b27f8fb9cbf222ef946bff3b698625e2f4
      https://github.com/llvm/llvm-project/commit/cd8122b27f8fb9cbf222ef946bff3b698625e2f4
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-01-24 (Mon, 24 Jan 2022)

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

  Log Message:
  -----------
  [lldb] Add ConstString memory usage statistics

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.

Differential revision: https://reviews.llvm.org/D117914




More information about the All-commits mailing list