[Lldb-commits] [lldb] [LLDB] Add load core time to target metrics	(PR #161581)
    David Peixotto via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Wed Oct  1 13:56:50 PDT 2025
    
    
  
================
@@ -148,6 +148,11 @@ TargetStats::ToJSON(Target &target,
     target_metrics_json.try_emplace("targetCreateTime",
                                     m_create_time.get().count());
 
+    if (m_load_core_time.get().count() > 0) {
----------------
dmpots wrote:
Do we need to conditionally add the "loadCoreTime"? Seems a value of 0 would be just as clear and could be nice to always have the key present.
https://github.com/llvm/llvm-project/pull/161581
    
    
More information about the lldb-commits
mailing list