Commit c192ac50 authored by davidchao's avatar davidchao Committed by Wei Wang
Browse files

Modify b1c1 script to lock gpu clock to max



Summary:
1. Since the device is running at Max frequency will likely hit HW-LMh throttling threshold,
so I modified the b1c1-setup.sh script to set the CPU freq to 2092800, GPU freq to 596000000.
2. For some light GPU loading test case, GPU may have a chance to enter power collapse
and the GPU freq would reduce to min_freq, so we set the min_freq and max_freq to 596000000
keep GPU performance.

Bug: 79699082
Test: exec script on device and check freq.
Note:
Run the test as low about 30 minutes,
adb shell -t time /data/benchmarktest64/hwuimacro/hwuimacro --offscreen shadowgrid2 -r 1000 -c 1000
it's keep ~640fps.
shadowgrid2         1573362 ns    1573362 ns       1000    635.581 items/s
shadowgrid2         1558751 ns    1558751 ns       1000    641.539 items/s
......
shadowgrid2         1564798 ns    1564798 ns       1000     639.06 items/s
shadowgrid2         1560946 ns    1560946 ns       1000    640.637 items/s

Change-Id: I663210e091e60c9e32760fc0e84889680ca7ffef
Signed-off-by: default avatardavidchao <davidchao@google.com>
parent 37985064
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment