[Lldb-commits] [lldb] [LLDB][Data Formatters] Calculate average and total time for summary providers within lldb (PR #102708)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 12 10:48:27 PDT 2024


================
@@ -174,6 +176,83 @@ struct StatisticsOptions {
   std::optional<bool> m_include_transcript;
 };
 
+/// A class that represents statistics about a TypeSummaryProviders invocations
+class SummaryStatistics {
+public:
+  SummaryStatistics() = default;
----------------
clayborg wrote:

Do we need a default constructor? We should be constructing these things into a map class that won't ever move them around right?

https://github.com/llvm/llvm-project/pull/102708


More information about the lldb-commits mailing list