[Lldb-commits] [lldb] [LLDB] Add load core time to target metrics (PR #161581)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 1 15:40:00 PDT 2025
================
@@ -255,6 +255,7 @@ SBProcess SBTarget::LoadCore(const char *core_file, lldb::SBError &error) {
ProcessSP process_sp(target_sp->CreateProcess(
target_sp->GetDebugger().GetListener(), "", &filespec, false));
if (process_sp) {
+ ElapsedTime loadCoreTime(target_sp->GetStatistics().GetLoadCoreTime());
----------------
JDevlieghere wrote:
```suggestion
ElapsedTime load_core_time(target_sp->GetStatistics().GetLoadCoreTime());
```
https://github.com/llvm/llvm-project/pull/161581
More information about the lldb-commits
mailing list