[Lldb-commits] [lldb] [LLDB][Data Formatters] Calculate average and total time for summary providers within lldb (PR #102708)
Jacob Lalonde via lldb-commits
lldb-commits at lists.llvm.org
Wed Aug 14 19:38:50 PDT 2024
================
@@ -408,3 +410,21 @@ llvm::json::Value DebuggerStats::ReportStatistics(
return std::move(global_stats);
}
+
+llvm::json::Value SummaryStatistics::ToJSON() const {
+ return json::Object{{
+ {"name", GetName()},
+ {"type", GetSummaryKindName()},
+ {"invocationCount", GetSummaryCount()},
----------------
Jlalond wrote:
Will fix, I updated the variable but not the json, facepalm
https://github.com/llvm/llvm-project/pull/102708
More information about the lldb-commits
mailing list