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:
Björn Terelius
2022-02-14 11:42:12 +01:00
committed by WebRTC LUCI CQ
parent 97f8a5f7dd
commit 43fb16921b
36 changed files with 203 additions and 129 deletions

View File

@ -33,4 +33,8 @@ message Chart {
message ChartCollection {
repeated Chart charts = 1;
// `calltime_to_utc_ms` is the UTC time (in ms) for the x-axis in the charts.
// In other words, time t ms in the charts corresponds to
// t+calltime_to_utc_ms ms in UTC time.
int64 calltime_to_utc_ms = 2;
}