Make DVQA CPU usage tests more stable

Bug: None
Change-Id: Id6febf0bb0dfceb09bdc9beea0887a62d091d15d
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/204484
Reviewed-by: Artem Titov <titovartem@webrtc.org>
Commit-Queue: Andrey Logvin <landrey@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33106}
This commit is contained in:
Andrey Logvin 2021-01-29 15:27:10 +00:00 committed by Commit Bot
parent 5761e7b3ff
commit ee8c275fd9

View File

@ -100,7 +100,7 @@ std::string ToString(const std::vector<StatsSample>& values) {
}
void FakeCPULoad() {
std::vector<int> temp(100000);
std::vector<int> temp(1000000);
for (size_t i = 0; i < temp.size(); ++i) {
temp[i] = rand();
}