[Lldb-commits] [PATCH] D150805: Proof of concept for reducing progress-reporting frequency.

Sterling Augustine via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed May 17 15:25:19 PDT 2023


saugustine updated this revision to Diff 523188.
saugustine added a comment.

Swtich rate-limiting to a time-based mechanism.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150805/new/

https://reviews.llvm.org/D150805

Files:
  lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp


Index: lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
===================================================================
--- lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
+++ lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
@@ -77,7 +77,7 @@
   Progress progress(
       llvm::formatv("Manually indexing DWARF for {0}", module_desc.GetData()),
       total_progress,
-      /*seconds=*/ 0.2);
+      /*seconds=*/ 1.0);
 
   std::vector<IndexSet> sets(units_to_index.size());
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150805.523188.patch
Type: text/x-patch
Size: 510 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230517/845055a9/attachment.bin>


More information about the lldb-commits mailing list