4fb7e25843
Summary of changes: * We're now using an enum for types instead of strings which both eliminates unecessary string creations+copies and further restricts the type to a known set at compile time. * IDs are now a separate type instead of a string, copying of Values is not possible and values are const to allow grabbing references outside of the statscollector. * StatsReport member variables are no longer public. * Consolidated code in StatsCollector (e.g. merged PrepareLocalReport and PrepareRemoteReport). * Refactored methods that forced copies of string (e.g. ExtractValueFromReport). * More asserts for thread correctness. * Using std::list for the StatsSet instead of a set since order is not important and updates are more efficient in list<>. BUG=2822 R=hta@webrtc.org, perkj@webrtc.org Review URL: https://webrtc-codereview.appspot.com/40439004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@8110 4adac7df-926f-26a2-2b94-8c16560cd09d |
||
---|---|---|
.. | ||
app/webrtc | ||
build | ||
examples | ||
media | ||
session/media | ||
codereview.settings | ||
COPYING | ||
libjingle_examples.gyp | ||
libjingle_media_unittest.isolate | ||
libjingle_p2p_unittest.isolate | ||
libjingle_peerconnection_unittest.isolate | ||
libjingle_sound_unittest.isolate | ||
libjingle_tests.gyp | ||
libjingle_unittest.isolate | ||
libjingle.gyp | ||
LICENSE_THIRD_PARTY | ||
OWNERS | ||
PRESUBMIT.py |