Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Issue 2729053002: Add location to RegisterModule (Closed)

Created:
3 years, 9 months ago by tommi
Modified:
3 years, 9 months ago
Reviewers:
kwiberg-webrtc
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), henrika_webrtc, zhengzhonghou_agora.io, Andrew MacDonald, stefan-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, sdk-team_agora.io, peah-webrtc, minyue-webrtc, the sun, AleBzk, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add support for Location (RTC_FROM_HERE) to ProcessThread::RegisterModule. This makes a few things a lot clearer when looking at perf trace data: * What module instances (where they were created) are called * On what thread * How frequently * For how long ProcessThread will be replaced by TaskQueue moving forward and this is a step towards understanding the behavior of the affected code. BUG=webrtc:7219 Review-Url: https://codereview.webrtc.org/2729053002 Cr-Commit-Position: refs/heads/master@{#16998} Committed: https://chromium.googlesource.com/external/webrtc/+/dea489f33e63c518854231fd3a98fabdb2b81563

Patch Set 1 #

Patch Set 2 : Add trace events #

Patch Set 3 : Update audio_device/BUILD.gn #

Patch Set 4 : Rebase #

Total comments: 2

Patch Set 5 : Don't default initialize |module| #

Patch Set 6 : Format BUILD.gn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -42 lines) Patch
M webrtc/call/call.cc View 1 2 chunks +6 lines, -4 lines 0 comments Download
M webrtc/call/flexfec_receive_stream_impl.cc View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/modules/audio_device/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/audio_device/test/audio_device_test_api.cc View 2 chunks +5 lines, -6 lines 0 comments Download
M webrtc/modules/utility/include/mock/mock_process_thread.h View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/utility/include/process_thread.h View 2 chunks +5 lines, -1 line 0 comments Download
M webrtc/modules/utility/source/process_thread_impl.h View 1 2 3 4 3 chunks +9 lines, -6 lines 0 comments Download
M webrtc/modules/utility/source/process_thread_impl.cc View 1 5 chunks +11 lines, -3 lines 0 comments Download
M webrtc/modules/utility/source/process_thread_impl_unittest.cc View 7 chunks +7 lines, -6 lines 0 comments Download
M webrtc/modules/video_coding/jitter_buffer_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/video/rtp_stream_receiver.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/video/video_receive_stream.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 1 2 chunks +4 lines, -3 lines 0 comments Download
M webrtc/video/vie_encoder.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/voice_engine/channel.cc View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/voice_engine/transmit_mixer.cc View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/voice_engine/voe_base_impl.cc View 1 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 29 (19 generated)
tommi
Add trace events
3 years, 9 months ago (2017-03-02 18:14:51 UTC) #5
tommi
Update audio_device/BUILD.gn
3 years, 9 months ago (2017-03-02 18:19:18 UTC) #6
tommi
Rebase
3 years, 9 months ago (2017-03-02 19:17:01 UTC) #11
tommi
3 years, 9 months ago (2017-03-03 08:25:43 UTC) #19
kwiberg-webrtc
lgtm https://codereview.webrtc.org/2729053002/diff/60001/webrtc/modules/utility/source/process_thread_impl.h File webrtc/modules/utility/source/process_thread_impl.h (right): https://codereview.webrtc.org/2729053002/diff/60001/webrtc/modules/utility/source/process_thread_impl.h#newcode57 webrtc/modules/utility/source/process_thread_impl.h:57: Module* const module = nullptr; Do you need ...
3 years, 9 months ago (2017-03-03 10:06:56 UTC) #20
tommi
Don't default initialize |module|
3 years, 9 months ago (2017-03-03 10:35:00 UTC) #21
tommi
Format BUILD.gn
3 years, 9 months ago (2017-03-03 10:35:40 UTC) #22
tommi
https://codereview.webrtc.org/2729053002/diff/60001/webrtc/modules/utility/source/process_thread_impl.h File webrtc/modules/utility/source/process_thread_impl.h (right): https://codereview.webrtc.org/2729053002/diff/60001/webrtc/modules/utility/source/process_thread_impl.h#newcode57 webrtc/modules/utility/source/process_thread_impl.h:57: Module* const module = nullptr; On 2017/03/03 10:06:56, kwiberg-webrtc ...
3 years, 9 months ago (2017-03-03 10:35:46 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2729053002/100001
3 years, 9 months ago (2017-03-03 10:36:15 UTC) #26
commit-bot: I haz the power
3 years, 9 months ago (2017-03-03 11:20:29 UTC) #29
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/external/webrtc/+/dea489f33e63c518854231fd3...

Powered by Google App Engine
This is Rietveld 408576698