webrtc/rtc_tools/rtc_event_log_visualizer/analyzer_bindings.h
Björn Terelius 54a6149b42 C-style bindings around RTC event log analyzer (2).
Parses log, calls analyzer and populates output.
Currently only outputs two charts. Chart selection to be added in a followup.

Bug: None
Change-Id: I960cff15a5935a638a5d979a71230ad598083596
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/324680
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Björn Terelius <terelius@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Auto-Submit: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#41000}
2023-10-24 18:16:04 +00:00

24 lines
939 B
C++

/*
* Copyright (c) 2023 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef RTC_TOOLS_RTC_EVENT_LOG_VISUALIZER_ANALYZER_BINDINGS_H_
#define RTC_TOOLS_RTC_EVENT_LOG_VISUALIZER_ANALYZER_BINDINGS_H_
#include <cstddef>
#include <cstdint>
void analyze_rtc_event_log(const char* log_contents,
size_t log_size,
const char* selection,
size_t selection_size,
char* output,
uint32_t* output_size);
#endif // RTC_TOOLS_RTC_EVENT_LOG_VISUALIZER_ANALYZER_BINDINGS_H_