[Lldb-commits] [lldb] Fix statistics dump to report per-target (PR #113723)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 25 12:50:56 PDT 2024


================
@@ -83,6 +83,8 @@ class DWARFIndex {
 
   StatsDuration::Duration GetIndexTime() { return m_index_time; }
 
+  void ResetIndexTime() { m_index_time.reset(); }
+
----------------
clayborg wrote:

Switch to `ResetStatistics` and use similar function in all other classes.

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


More information about the lldb-commits mailing list