Refactor AnalyzerConfig to use Timestamps instead of microseconds.
Add optional offset-to-UTC parameter to output. This allows aligning the x-axis in the generated charts to other UTC-based logs. Bug: b/215140373 Change-Id: I65bcd295718acbb8c94e363907c1abc458067bfd Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/250203 Reviewed-by: Kristoffer Erlandsson <kerl@google.com> Commit-Queue: Björn Terelius <terelius@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35992}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
97f8a5f7dd
commit
43fb16921b
@ -643,8 +643,8 @@ class ParsedRtcEventLog {
|
||||
return decoded_frames_;
|
||||
}
|
||||
|
||||
int64_t first_timestamp() const { return first_timestamp_; }
|
||||
int64_t last_timestamp() const { return last_timestamp_; }
|
||||
Timestamp first_timestamp() const { return first_timestamp_; }
|
||||
Timestamp last_timestamp() const { return last_timestamp_; }
|
||||
|
||||
const LogSegment& first_log_segment() const { return first_log_segment_; }
|
||||
|
||||
@ -889,8 +889,8 @@ class ParsedRtcEventLog {
|
||||
|
||||
std::vector<uint8_t> last_incoming_rtcp_packet_;
|
||||
|
||||
int64_t first_timestamp_;
|
||||
int64_t last_timestamp_;
|
||||
Timestamp first_timestamp_ = Timestamp::PlusInfinity();
|
||||
Timestamp last_timestamp_ = Timestamp::MinusInfinity();
|
||||
|
||||
LogSegment first_log_segment_ =
|
||||
LogSegment(0, std::numeric_limits<int64_t>::max());
|
||||
|
||||
Reference in New Issue
Block a user