commit | 5099aef700c439ca6091e33333664fd7fc725a04 | [log] [tgz] |
---|---|---|
author | Tommi <tommi@webrtc.org> | Thu May 22 21:34:04 2025 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 23 13:26:24 2025 |
tree | 3f66f1e0ed646cc4d9cff10fc49f15a5ba39e369 | |
parent | 4fd769cfb6ff91d2e4957c884c367cad1e35161f [diff] |
Add AllocationCounter for common_audio_unittests This test utility can be used for performance critical code that must either perform no or a known quantity of heap allocations. AllocationCounter can be used to count the number of allocations done within a specific scope and pass/fail a test based on the expected number of heap allocations. To begin with there's one test included: common_audio_unittests \ --gtest_filter=AllocationCounterTest.CountsHeapAllocations Bug: webrtc:0 Change-Id: Id349b33d10e147388b65319c63233bd3652d833c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/393040 Reviewed-by: Per Åhgren <peah@webrtc.org> Reviewed-by: Jakob Ivarsson <jakobi@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#44745}
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.