diff options
author | henrik.lundin <henrik.lundin@webrtc.org> | 2015-12-17 03:50:05 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-17 11:50:11 +0000 |
commit | a689b44c17dd22635188da325352414f4a5ab6b7 (patch) | |
tree | 2a9964c63af8280684811906be7a3afe9b340044 /webrtc/modules | |
parent | 0eb15ed7b806125774bd13fb214aeb403e2c6857 (diff) | |
download | webrtc-a689b44c17dd22635188da325352414f4a5ab6b7.tar.gz |
Add tracing to NetEqImpl::InsertPacket
BUG=webrtc:5167
R=pbos@webrtc.org
Review URL: https://codereview.webrtc.org/1525423004
Cr-Commit-Position: refs/heads/master@{#11065}
Diffstat (limited to 'webrtc/modules')
-rw-r--r-- | webrtc/modules/audio_coding/neteq/neteq_impl.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webrtc/modules/audio_coding/neteq/neteq_impl.cc b/webrtc/modules/audio_coding/neteq/neteq_impl.cc index 0fe911ba3f..1c534dc60c 100644 --- a/webrtc/modules/audio_coding/neteq/neteq_impl.cc +++ b/webrtc/modules/audio_coding/neteq/neteq_impl.cc @@ -18,6 +18,7 @@ #include "webrtc/base/checks.h" #include "webrtc/base/logging.h" #include "webrtc/base/safe_conversions.h" +#include "webrtc/base/trace_event.h" #include "webrtc/common_audio/signal_processing/include/signal_processing_library.h" #include "webrtc/modules/audio_coding/codecs/audio_decoder.h" #include "webrtc/modules/audio_coding/neteq/accelerate.h" @@ -124,6 +125,7 @@ NetEqImpl::~NetEqImpl() = default; int NetEqImpl::InsertPacket(const WebRtcRTPHeader& rtp_header, rtc::ArrayView<const uint8_t> payload, uint32_t receive_timestamp) { + TRACE_EVENT0("webrtc", "NetEqImpl::InsertPacket"); CriticalSectionScoped lock(crit_sect_.get()); int error = InsertPacketInternal(rtp_header, payload, receive_timestamp, false); |