[Lldb-commits] [lldb] [LLDB][Stats] Calculate active time to first Bt (PR #161604)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 7 15:42:22 PDT 2025
================
@@ -153,6 +153,11 @@ TargetStats::ToJSON(Target &target,
m_load_core_time.get().count());
}
+ if (m_first_bt_time_set) {
----------------
clayborg wrote:
If we use a `std::once_flag` for this, we shlud just check if `m_active_time_to_first_bt` has a non-zero value
https://github.com/llvm/llvm-project/pull/161604
More information about the lldb-commits
mailing list