Henrik Boström 180faebe88 [getStats] Reduce blocking thread-invokes from 2 to 1.
pc_->GetCallStats() does a blocking-invoke if not already on the worker
thread. By moving this call into one of the lambdas that is already
executing on the worker thread, we can "piggy-back" on it and reduce
the number of blocking-invokes by one.

No change in behavior is intended with this CL, other than performance
improvements.

Bug: webrtc:11767
Change-Id: I04eaf990be946720353adca82e87b739ec6614f2
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/193060
Reviewed-by: Philipp Hancke <philipp.hancke@googlemail.com>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Henrik Boström <hbos@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#32602}
2020-11-13 09:36:18 +00:00
..
2019-01-28 11:17:00 +00:00
2020-07-07 18:25:09 +00:00
2020-01-22 20:46:52 +00:00
2019-07-08 13:45:15 +00:00
2020-02-25 14:45:04 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2020-07-07 18:25:09 +00:00
2019-11-05 09:40:03 +00:00
2020-07-15 20:45:13 +00:00
2020-07-15 20:45:13 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00