| commit | 61a287a3cb65781b97b5830d8f45e0df13eaf7ca | [log] [tgz] |
|---|---|---|
| author | Björn Terelius <terelius@webrtc.org> | Fri May 21 13:02:07 2021 |
| committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 21 17:03:01 2021 |
| tree | 148985c88ed552203a96fea55b75c69a63af2094 | |
| parent | 00f6e75671b7c73af5b3c88d2b554ee7873275f9 [diff] |
Add accessor for UTC start time in event log Bug: webrtc:11933 Change-Id: Id9e63dc0487d5d07ac87e319695206ee4cd627e8 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219787 Reviewed-by: Sebastian Jansson <srte@webrtc.org> Commit-Queue: Björn Terelius <terelius@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34079}
diff --git a/logging/rtc_event_log/logged_events.h b/logging/rtc_event_log/logged_events.h index da7653d..3824494 100644 --- a/logging/rtc_event_log/logged_events.h +++ b/logging/rtc_event_log/logged_events.h
@@ -249,6 +249,8 @@ int64_t log_time_us() const { return timestamp_us; } int64_t log_time_ms() const { return timestamp_us / 1000; } + Timestamp utc_time() const { return Timestamp::Millis(utc_start_time_ms); } + int64_t timestamp_us; int64_t utc_start_time_ms; };