Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment