================ @@ -103,7 +103,9 @@ void DAP::SendJSON(const llvm::json::Value &json) { SendJSON(json_str); if (log) { - *log << "<-- " << std::endl + auto now = std::chrono::duration<double>( + std::chrono::system_clock::now().time_since_epoch()); ---------------- labath wrote:
for a benchmark yes, but this is only a "benchmark" (with *very* large quotes). Like, I won't be using this during daylight savings switchover, and I don't think it's suitable for anything automated. And it's kinda nice it matches the time stamps for regular lldb logs (I literally copied this code from there). https://github.com/llvm/llvm-project/pull/93540 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits