Commit 21a9e619 authored by Andreas Pehrson's avatar Andreas Pehrson
Browse files

Bug 1800942 - Switch to stdout as it will get logged by the mochitest runner. r=mjf

Also log `this` to distinguish between potentially more than one extrapolator.

Differential Revision: https://phabricator.services.mozilla.com/D167548
parent 411e26c1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -147,8 +147,8 @@ absl::optional<Timestamp> TimestampExtrapolator::ExtrapolateLocalTime(
    double timestampDiff = unwrapped_ts90khz - *first_unwrapped_timestamp_;
    auto diff_ms = static_cast<int64_t>((timestampDiff - w_[1]) / w_[0] + 0.5);
#if defined(DEBUG) && defined(NIGHTLY_BUILD)
    std::cerr << "##### TimestampExtrapolator DEBUG start_ = " << start_.ms()
              << "ms; diff_ms = (" << unwrapped_ts90khz << " - "
    std::cout << "##### TimestampExtrapolator " << this << " DEBUG start_ = "
              << start_.ms() << "ms; diff_ms = (" << unwrapped_ts90khz << " - "
              << *first_unwrapped_timestamp_ << " - " << w_[1] << ") / "
              << w_[0] << " + 0.5 = " << diff_ms << "ms" << std::endl;
#endif