5 Commits

Author SHA1 Message Date
ilnik
3e530d20ca Fix CpuTimeTest to tolerate MSAN interference (some background test-related work).
BUG=none

Review-Url: https://codereview.webrtc.org/2739673003
Cr-Commit-Position: refs/heads/master@{#17132}
2017-03-09 08:41:31 +00:00
ilnik
78f2d21e74 Fixed cpu time unittest to be less flaky
BUG=webrtc:7095

Review-Url: https://codereview.webrtc.org/2725553002
Cr-Commit-Position: refs/heads/master@{#16897}
2017-02-28 10:24:10 +00:00
ilnik
531100dc7a Reland of Added GetCpuTime to base/ to get total CPU time consumed by process for perf tests.
BUG=webrtc:7095

Review-Url: https://codereview.webrtc.org/2695743003
Cr-Commit-Position: refs/heads/master@{#16665}
Committed: 3ff474b72b

patch from issue 2695743003 at patchset 440001 (http://crrev.com/2695743003#ps440001)

Review-Url: https://codereview.webrtc.org/2706823002
Cr-Commit-Position: refs/heads/master@{#16736}
2017-02-21 11:33:24 +00:00
tommi
658c3bb0ab Revert of Added GetCpuTime to base/ to get total CPU time consumed by process for perf tests. (patchset #24 id:440001 of https://codereview.webrtc.org/2695743003/ )
Reason for revert:
The GetThreadCpuTimeTest.SingleThread and .TwoThreads tests are unfortunately flaky on Mac (maybe other platforms).  See for example:

https://build.chromium.org/p/client.webrtc/builders/Mac%20Asan/builds/11271/steps/rtc_unittests%20on%20Mac-10.11/logs/stdio

https://build.chromium.org/p/client.webrtc/builders/Mac64%20Debug/builds/10395/steps/rtc_unittests%20on%20Mac-10.11/logs/stdio

https://build.chromium.org/p/client.webrtc/builders/Mac%20Asan/builds/11271/steps/rtc_unittests%20on%20Mac-10.11/logs/stdio

Since it's late, I'll have to revert the CL to get the tree and trybots green (instead of only disabling the failing tests).

Original issue's description:
> Added GetCpuTime to base/ to get total CPU time consumed by process for perf tests.
>
> BUG=webrtc:7095
>
> Review-Url: https://codereview.webrtc.org/2695743003
> Cr-Commit-Position: refs/heads/master@{#16665}
> Committed: 3ff474b72b

TBR=sprang@webrtc.org,mflodman@webrtc.org,deadbeef@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org,ilnik@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:7095

Review-Url: https://codereview.webrtc.org/2698333004
Cr-Commit-Position: refs/heads/master@{#16679}
2017-02-17 22:59:19 +00:00
ilnik
3ff474b72b Added GetCpuTime to base/ to get total CPU time consumed by process for perf tests.
BUG=webrtc:7095

Review-Url: https://codereview.webrtc.org/2695743003
Cr-Commit-Position: refs/heads/master@{#16665}
2017-02-17 12:02:23 +00:00