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:
parent
5761e7b3ff
commit
ee8c275fd9
@ -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();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user