commit | 0a025345fe7cc4cb5554a25c687f9b98bb15ae4a | [log] [tgz] |
---|---|---|
author | Jianhui Dai <jianhui.j.dai@intel.com> | Fri Mar 17 00:20:04 2023 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 21 23:07:40 2023 |
tree | 1c2d0f16c5d9d2fbc002b85290bd29ee916fccef | |
parent | e798ea637137d5d21db713c7bbbb2fccb12d5bb6 [diff] |
RtcEventLog: Separate `LogToMemory` from TaskQueue to current thread Original implementation uses TaskQueue to async execute both `LogToMemory` and `WriteToOutput`. `LogToMemory` is invoked in high frequency, but the execution takes a very short time. It would be a bit more expensive to post on TaskQueue than execution on current thread with locking. It is because that the TaskQueue switches the thread context for execution. This CL separates `LogToMemory` from TaskQueue to current thread, in order to avoid frequent context switching; And periodically schedule `WriteToOutput` to TaskQueue, not block current thread. Link: https://webrtc-review.googlesource.com/c/src/+/283641 Bug: chromium:1288710 Change-Id: Ic78216aff16d1883b109e360a0892da3ca8f5ecb Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/295640 Reviewed-by: Björn Terelius <terelius@webrtc.org> Commit-Queue: Markus Handell <handellm@webrtc.org> Reviewed-by: Markus Handell <handellm@webrtc.org> Reviewed-by: Markus Handell <handellm@google.com> Cr-Commit-Position: refs/heads/main@{#39629}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.