10 Commits

Author SHA1 Message Date
asapersson
5265fedffe Add histogram stats for average QP per frame for VP9 (for sent video streams):
- "WebRTC.Video.Encoded.Qp.Vp9"
- "WebRTC.Video.Encoded.Qp.Vp9.S0"
- "WebRTC.Video.Encoded.Qp.Vp9.S1"
- "WebRTC.Video.Encoded.Qp.Vp9.S2"

BUG=

Review URL: https://codereview.webrtc.org/1870043002

Cr-Commit-Position: refs/heads/master@{#12402}
2016-04-18 09:58:52 +00:00
asapersson
9c246c4bbe Change include in metrics.h (change to use systems_wrappers/include/logging.h, base logging breaks chromium.fyi).
BUG=
TBR=mflodman@webrtc.org

Review URL: https://codereview.webrtc.org/1838163002

Cr-Commit-Position: refs/heads/master@{#12135}
2016-03-29 11:16:31 +00:00
asapersson
58d992e025 Add macros for ability to log samples that are added to histograms (RTC_LOGGED_*).
Adds logging of:
- video stats that are recorded when a stream is removed
- bitrate stats that are recorded at the end of a call
- initial bwe rampup stats

BUG=

Review URL: https://codereview.webrtc.org/1788783002

Cr-Commit-Position: refs/heads/master@{#12133}
2016-03-29 09:15:11 +00:00
asapersson
3b411701a5 Remove sparse macros (RTC_HISTOGRAM_*_SPARSE_*) that are no longer used.
BUG=webrtc:5283

Review URL: https://codereview.webrtc.org/1766313002

Cr-Commit-Position: refs/heads/master@{#11978}
2016-03-14 11:34:50 +00:00
asapersson
c2148a50d2 Integrate helper macros for calling histograms with different names (real-time vs screenshare and rampup metrics).
Sparse macro is replaced and new implementation in metrics.h is used.

BUG=webrtc:5283

Review URL: https://codereview.webrtc.org/1564923008

Cr-Commit-Position: refs/heads/master@{#11483}
2016-02-04 08:33:29 +00:00
asapersson
040b79ff7e Add helper macros for calling a histogram with different names.
To be used when a metric is used in different modes such as real-time vs screenshare (will be done in https://codereview.webrtc.org/1564923008/).

BUG=webrtc:5283

Review URL: https://codereview.webrtc.org/1567013004

Cr-Commit-Position: refs/heads/master@{#11461}
2016-02-02 15:13:16 +00:00
asapersson
1fe48a5e1d Add implementation in metrics.h that uses atomic pointer.
Update test implementation (test/histograms.h) to be more similar a real implementation (where histogram get functions return a Histogram pointer). Add check that the name of a histogram does not change.

BUG=webrtc:5283

Review URL: https://codereview.webrtc.org/1528403003

Cr-Commit-Position: refs/heads/master@{#11161}
2016-01-07 09:02:49 +00:00
asapersson
53805324c0 Rename RTC_HISTOGRAM_* macros to RTC_HISTOGRAM_*_SPARSE_* to indicate that these are for infrequent updates.
This implementation will be replaced by a faster one and sparse will be removed.

BUG=webrtc:5283

Review URL: https://codereview.webrtc.org/1530913002

Cr-Commit-Position: refs/heads/master@{#11099}
2015-12-21 09:46:25 +00:00
kjellander
d56d68cd27 system_wrappers: Fix include header guards.
This should have been a part of https://codereview.webrtc.org/1413333002/

The header guard PRESUBMIT rule is being enabled in
https://codereview.webrtc.org/1419203005 so things like this won't
happen in the future.

BUG=5095
NOTRY=True

Review URL: https://codereview.webrtc.org/1425693005

Cr-Commit-Position: refs/heads/master@{#10475}
2015-11-02 10:12:50 +00:00
Henrik Kjellander
98f53510b2 system_wrappers: rename interface -> include
BUG=webrtc:5095
R=tommi@webrtc.org

Review URL: https://codereview.webrtc.org/1413333002 .

Cr-Commit-Position: refs/heads/master@{#10438}
2015-10-28 17:17:50 +00:00