[Lldb-commits] [lldb] [LLDB][Data Formatters] Calculate average and total time for summary providers within lldb (PR #102708)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 15 11:26:23 PDT 2024
================
@@ -174,6 +177,86 @@ struct StatisticsOptions {
std::optional<bool> m_include_transcript;
};
+/// A class that represents statistics about a TypeSummaryProviders invocations
+class SummaryStatistics {
+public:
+ explicit SummaryStatistics(std::string name, std::string impl_type)
+ : m_total_time(), m_impl_type(impl_type), m_name(name),
----------------
Michael137 wrote:
```suggestion
: m_total_time(), m_impl_type(std::move(impl_type)), m_name(std::move(name)),
```
https://github.com/llvm/llvm-project/pull/102708
More information about the lldb-commits
mailing list