[Lldb-commits] [PATCH] D137645: [trace] Add `SBTraceCursor::GetWallClockTime` API

Jakob Johnson via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 8 07:36:40 PST 2022


jj10306 added inline comments.
Herald added a subscriber: JDevlieghere.


================
Comment at: lldb/source/API/SBTraceCursor.cpp:131
+  const auto &maybe_wall_clock_time = m_opaque_sp->GetWallClockTime();
+  return maybe_wall_clock_time ? *maybe_wall_clock_time : -1.0;
+}
----------------
open to suggestions on the best way to indicate that the current item doesn't have a timestamp associated with it


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137645



More information about the lldb-commits mailing list