Split LoggedBweProbeResult into -Success and -Failure.

Also change ParsedEventLog::EventType to enum class.

Bug: webrtc:8111
Change-Id: I4747fb9cbcbdb963fa032770078218e5b416b3da
Reviewed-on: https://webrtc-review.googlesource.com/79280
Commit-Queue: Björn Terelius <terelius@webrtc.org>
Reviewed-by: Elad Alon <eladalon@webrtc.org>
Reviewed-by: Minyue Li <minyue@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23432}
This commit is contained in:
Bjorn Terelius
2018-05-29 14:45:53 +02:00
committed by Commit Bot
parent 9545e1c9e5
commit 7a0bb00422
8 changed files with 261 additions and 162 deletions

View File

@ -145,8 +145,10 @@ const std::map<ParsedRtcEventLogNew::EventType, std::string>
"AUDIO_NETWORK_ADAPTATION"},
{ParsedRtcEventLogNew::EventType::BWE_PROBE_CLUSTER_CREATED_EVENT,
"BWE_PROBE_CREATED"},
{ParsedRtcEventLogNew::EventType::BWE_PROBE_RESULT_EVENT,
"BWE_PROBE_RESULT"}});
{ParsedRtcEventLogNew::EventType::BWE_PROBE_SUCCESS_EVENT,
"BWE_PROBE_SUCCESS"},
{ParsedRtcEventLogNew::EventType::BWE_PROBE_FAILURE_EVENT,
"BWE_PROBE_FAILURE"}});
} // namespace
void PrintActualEvents(const ParsedRtcEventLogNew& parsed_log,